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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Convert DateTime to Date

How can I convert DateTime (Field Order Date) into  Date (DD/MM/YYYY) with a script ?

Labels (1)
1 Solution

Accepted Solutions
Qrishna
Master
Master

load date(orderdate,'M/D/YYYY') as OrderDate

from xyz.qvw;

View solution in original post

5 Replies
Qrishna
Master
Master

load date(orderdate,'M/D/YYYY') as OrderDate

from xyz.qvw;

MarcoWedel
MVP
MVP

‌DayName(OrderDate)

or

Date(Floor(OrderDate))

or if your default DateFormat is different from the required one:

Date(Floor(OrderDate),'DD/MM/YYYY')

you maybe can skip the floor function as your sample data always has 00:00:00 as time.

regards

Marco

Not applicable
Author

Thx

Not applicable
Author

Thank you

MarcoWedel
MVP
MVP

‌you're welcome

regards

Marco