Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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.