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

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

Text to date

Hi,

My dataset has dates noted as follows:

03.06.2013

However, it are no dates; it is text, so I cannot do calculations with it. How do I change this to a real date, or a number (in this example to 41428), so I can do calculations with the dates?

Thanks.

1 Solution

Accepted Solutions
Nicole-Smith

If day is first then month:

date#(YourDateField, 'DD.MM.YYYY')

If month is first then day:

date#(YourDateField, 'MM.DD.YYYY')

View solution in original post

2 Replies
Nicole-Smith

If day is first then month:

date#(YourDateField, 'DD.MM.YYYY')

If month is first then day:

date#(YourDateField, 'MM.DD.YYYY')

Not applicable
Author

hi Dam

try this :

date(date#(03.06.2013,'DD.MM.YYYY'))