Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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