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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date format

I use the following script for loading

,  Date#([Date Time],'YYYY-MM-DD') as [Date Time1]

Sans titre.png

how to change date format for Date Time1] to YYYY-MM-DD?

Labels (1)
3 Replies
Anonymous
Not applicable
Author

use Format (what is the origin Format of Date Time?)

Date([Date Time],'YYYY-MM-DD') as [Date Time1]

swuehl
Champion III
Champion III

Seems like the numbers were interpreted as text. Have you used a CROSSTABLE LOAD before this LOAD in question?

Try

Date(num#([Date Time]),'YYYY-MM-DD') as [Date Time1]

Clever_Anjos
Support
Support

Usefull reading: Why don’t my dates work?