Help with leap year

Moderators: Disciple, zlovatt

Post Reply
Posts: 1
Joined: December 20th, 2020, 1:03 am

I would like to create an animation, where one frame are represents one day and the date are displayed.
But i have problems with the leap year calculations.

I have two constant input values from two slider: the starting year and the starting day of the year. These values are increment with based on (time/thisComp.frameDuration) - but i can't solve the problem of the different length of february in leap years...
Do you have any idea?

Post Reply