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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date format Issue

Hello,

I receive a date with that format (YYYYDDD) where DDD is the number of the day of the year.

(002 meaning 02 January, 032 meaning 01 february).

Is there any way I can create a "Real Date" with a format like YYYY/MM/DD ?

Thanks for your help.

Philippe

1 Solution

Accepted Solutions
Not applicable
Author

Something like:

=Date(MakeDate(YYYY) + DDD)


That will take the number of days added to January 1st of the year, to get the date.

View solution in original post

3 Replies
Not applicable
Author

Something like:

=Date(MakeDate(YYYY) + DDD)


That will take the number of days added to January 1st of the year, to get the date.

Not applicable
Author

Try this:

Date(MakeDate(left(Date, 4))+(right(Date, 3))) as RealDate


Not applicable
Author

Thanks a lot !!!!

Philippe