Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
akpofureenughwu
Creator III
Creator III

Date in Numerical form

I have a set of data in excel..

My date field are in numbers......

like 01/01/2017 becomes 42736....

Please how can I manipulate it back to DD/MM/YYYY in the qlik environment..

see attached for sample

1 Solution

Accepted Solutions
6 Replies
Anil_Babu_Samineni

Try to use Date(FieldName, 'DD/MM/YYYY')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
akpofureenughwu
Creator III
Creator III
Author

Hello sir... Thanks for the assistance...

I used the script for the date in numeric format and I got my date field in DD/MM/YYYY

Date(Num#(Date)) as Date,...

but the challenge is  on my chart title... I used this expression... ='Sales Figures as at max(Date)'... to get the latest date...  It's showing me numbers not date 

marcus_sommer

Use: date(max(Date))

- Marcus

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Because Max() only works on numbers, not on dates, it will always return the numerical value that underlies your date. You will have to format it into a date again, just like Marcus says.

antoniotiman
Master III
Master III

Use MaxString(Date)

akpofureenughwu
Creator III
Creator III
Author

antoniotiman

Thank you Antonio....

Regards