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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Change Date Format

Hello qlikers 🙂 ,

I want to change the date format from 17.01.2019 to 2019_01_17.

I tested it with 

 

LET vDate = date(Date(Now(),'YYYY_MM_DD');

 

and

 

LET vDate = Date#((Date(Now())),'YYYY_MM_DD');

 

But unfortunately nothing works correctly. I only get 17.01.2019.

How can I change the todays date to this format YYYY_MM_DD ? 🙂

Thank you in advance! Looking forward to reading some answers. 

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try:

Date(today(),'YYYY_MM_DD')

View solution in original post

4 Replies
tresB
Champion III
Champion III

Try:

Date(today(),'YYYY_MM_DD')
Anonymous
Not applicable
Author

we.PNG

Thank you for the answer! But how you can I see, it doesn't work. 

tresB
Champion III
Champion III

Something wrong must be happening at your end. Could your share screen shots of both the definition and value you are getting? 

Anonymous
Not applicable
Author

Thank you agian! It was in a IF. 😄