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: 
Not applicable

What to use: date or timestamp

Hi,

What is the actual difference between the date and the timestamp function.

Both seem to be able to handle the pure dates (YYYYMMDD) and time (HHMMSS) as well.

I use them just at random, but there has to be a reason why both were invented 🙂

Thanks for your feedback!

Maarten

2 Replies
swuehl
MVP
MVP

Hi Marten,

I believe you are right, there is not much of a difference if you are using format codes.

I think the only difference is if you are not using format codes, so date will use the default date format, timestamp the default timestamp format, given by SET Dateformat / Timestampformat or by OS.

Regards,

Stefan

Not applicable
Author

Thanks, and probably - related to performance - the choice won't matter much ... I suppose ...