Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
PrashantSangle

date() vs timestamp()

Dear All,

I have read so many document about date() and timestamp()

but did not get it why we required this 2 function independently.

The reason behind asking this question is we can perfom date and time formating with date() as well as timestamp() also.

So why 2 different function available???

Which one is most preferable??

Please share knowledge

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
14 Replies
PrashantSangle
Author

Ok, I thought there might be some difference between them, which i am aware of it .

Thanks for clearification.

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
stonecold111
Creator III
Creator III

   Nobody has answer.. you have original name and nick name also.  you respond for both

this is the same way i think.. whatever we getting results .. leave it

PrashantSangle
Author

yes.

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
yoganantha321
Creator II
Creator II

Hi Prashanth,

It is very simple concept,

Date() - it returns only the date given output

Timestamp() - it returns the date along with time duration of the given output

Example Expression:

=date(now()) --> returns 27-03-17

=timestamp(now()) --> returns 27-03-17 7:03:49 PM (as of now)      ** It keeps on running

PrashantSangle
Author

Just read entire thread. Hope you get what I am looking for.

By the way thanks for response.

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂