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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date and time

date and time.png

This is my table.

How can I set the date in DD / MM/ YYYY and the time in hh:mm:ss ?

Thank you!

5 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

In the load script, use formatting functions date() and timestamp().

In the UI, open Document Properties > Number and format the fields accordingly.

Not applicable
Author

vb.pngI think I must do there

Not applicable
Author

make there an expression

Not applicable
Author

Hi,

You can write in script below expressions.

Date(Date#(Date2,Num(Date2)),'DD/MM/YYYY')  as   Date3,

Time(Time#(Time2,Num(Time2)),'hh:mm::ss')  as   Time3,

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

For Expressions, you could use the Date function within the Expression.

For Dimensions, though, the only way is to format the field in the Document Properties > Number.