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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date format..

Hi,

I'm using excel file as data source with date as one of the column. This date fields had mixed format type for example 14/2/2014 (date format) and 15-2-2014(General format). Is there a way to convert all the dates to one format at Qlikview level ?

Thanks in Advance

Thanks

Vardhan

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi Vardhan,

Use this in load script

Date(Date#(PurgeChar(DateField,'/-.'),'DDMMYYYY'),'DD-MM-YYYY') as NewDate

Regards,

Sokkorn

View solution in original post

2 Replies
Sokkorn
Master
Master

Hi Vardhan,

Use this in load script

Date(Date#(PurgeChar(DateField,'/-.'),'DDMMYYYY'),'DD-MM-YYYY') as NewDate

Regards,

Sokkorn

Not applicable
Author

hi

try this

date(date#(fieldname,'DD/MM/YYYY'),'DD-MM-YYYY')