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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
krish2459
Creator
Creator

Date Conversion

Hi ,

 

How to convert the below date format into "DD-MM-YYYY"

2022-05-19 12:07:25.0000000

 

Thanks,...

Labels (1)
1 Solution

Accepted Solutions
justISO
Specialist
Specialist

Hi, if your date field is a string, you can try

=Date(Date#(left(date, 10),'YYYY-MM-DD'),'DD-MM-YYYY')

if it is timestamp

=date(floor(date), 'DD-MM-YYYY')

View solution in original post

1 Reply
justISO
Specialist
Specialist

Hi, if your date field is a string, you can try

=Date(Date#(left(date, 10),'YYYY-MM-DD'),'DD-MM-YYYY')

if it is timestamp

=date(floor(date), 'DD-MM-YYYY')