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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

Date Transformation

Hey all ,

How can I convert this Date "4/5/2017" into a number ?

Noting that it is a Month/Day/Year in this the number show be "42830"

Thank you

Labels (1)
1 Solution

Accepted Solutions
surendraj
Specialist
Specialist

num(date#('4/5/2017','MM/DD/YYYY'))

View solution in original post

2 Replies
surendraj
Specialist
Specialist

num(date#('4/5/2017','MM/DD/YYYY'))

Anonymous
Not applicable

Try using the number function. For example num('4/5/2017','####0') and this should give you the number 42859.