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: 
smilingjohn
Specialist
Specialist

convert

hi All

I have a field name called Date and the date format in which is like below

How do i convert this date

11/30/2016 11:59 PM MST

into  "DD-MM-YYY"(30-11-2016)

Regards

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be like this:

Date(Date#(SubField(Date, ' ', 1), 'MM/DD/YYYY'), 'DD-MM-YYYY') as Date

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

May be like this:

Date(Date#(SubField(Date, ' ', 1), 'MM/DD/YYYY'), 'DD-MM-YYYY') as Date