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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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