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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
pk
Contributor III
Contributor III

Qlikview date formats

Hello Team,

I have date format like- MM/DD/YYYY HH:SS:MM TT (e.g.- 12/06/2021 12:00:00 AM)

At scripting side, Want to pick/convert date into this format like 06-12-2021(DD-MM-YYYY) 

 

Thanks in advance

Labels (2)
1 Solution

Accepted Solutions
Or
MVP
MVP

You can format a date in any way desired using the date() function, e.g.

Date(YourDate,'DD-MM-YYYY')

Note that if your date contains a timestamp, you'll want to floor() it or apply dayname() to it first to get rid of the time stamp.

View solution in original post

1 Reply
Or
MVP
MVP

You can format a date in any way desired using the date() function, e.g.

Date(YourDate,'DD-MM-YYYY')

Note that if your date contains a timestamp, you'll want to floor() it or apply dayname() to it first to get rid of the time stamp.