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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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

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.