Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
dafnis14
Specialist
Specialist

DayNumberInQuarter Question

Hi,

DayNumberOfQuarter('28/02/2019')  shows 59

DayNumberOfQuarter('01/03/2019') shows 61

DayNumberOfQuarter('29/02/2020')  shows 60 (leap year)

Is it a bug or a feature?

 

Thanks!

Labels (1)
1 Solution

Accepted Solutions
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Is stated in Qlik help document that:

The function always uses years based on 366 days.

 

Refer to Qlik help for more info:

https://core.qlik.com/services/qix-engine/script_reference/date_and_time_functions/#daynumberofquart...

Thanks and regards,

Arthur Fong

View solution in original post

2 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Is stated in Qlik help document that:

The function always uses years based on 366 days.

 

Refer to Qlik help for more info:

https://core.qlik.com/services/qix-engine/script_reference/date_and_time_functions/#daynumberofquart...

Thanks and regards,

Arthur Fong

dafnis14
Specialist
Specialist
Author

Thank you!