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

Convert DateTime to Date

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

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

‌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

‌you're welcome

regards

Marco