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

Load a 5 digit date as mm/dd/yyyy

Apologies if this has been asked before but how would I load a 5 digit date ( from an excel sheet ) into QV as mm/dd/yyyy ?

Thanks

4 Replies
sunny_talwar

What is the format for you 5 digit date format?

sunny_talwar

May be try this:

Date(Date#(YourDateField, 'YourFormat'), 'MM/DD/YYYY') as Date

stigchel
Partner - Master
Partner - Master

You can just use the date function

If your system format is mm/dd/yyyy

Date(ExcelField) as Date

Otherwise

Date(ExcelField,'mm/dd/yyyy') as Date

Not applicable
Author

Hi Sid,

You can use

MakeDate(Year(YourDateField ),Month( YourDateField ),Day(YourDateField ))