> Am 26.02.2018 um 10:43 schrieb Petr Fischer <petr.fisc...@me.com>:
> 
> Hello, just simple test:
> 
> (Date year: 2019 month: 2 day: 26) + 1 year.
> returns: 26 February 2020
> OK
> 
> (Date year: 2020 month: 2 day: 26) + 1 year.
> returns: 25 February 2021
> What?
> 
> (maybe I do not understand something  about dates again)

That is a conceptual problem. 1 year is a duration. As it does not know which 
year it is the normal 365 days. And 2020 is a leap year so has 366 days. That’s 
why the date is shifted.

Norbert

Reply via email to