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: 
Not applicable

How to change the date format in QV?

I've a table from which a date value is fetched in the format 'mm/dd/yyyy'. I've stored this value in a variable and want to change the format to 'yyyy-mm-dd' to pass it to some other SQL.

Please help.

4 Replies
Not applicable
Author

Try this:

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

Not applicable
Author

You can use date# function

Not applicable
Author

Try:

Date(Date#([your date field]),'YYYY-MM-DD')

Regards

nirav_bhimani
Partner - Specialist
Partner - Specialist

Hi,

One more alternative is Go to...........

Setting-> Document Property ->Number->Select Filed->Select Number format setting = Date ->apply your Format pattern like 'YYYY-MM-DD'.

Regards,

Nirav Bhimani