Search found 2 matches
- Mon Feb 10, 2025 3:58 pm
- Forum: Coding Questions
- Topic: Bug in Date()
- Replies: 2
- Views: 462
Re: Bug in Date()
Thank you very much!
- Mon Feb 10, 2025 3:23 pm
- Forum: Coding Questions
- Topic: Bug in Date()
- Replies: 2
- Views: 462
Bug in Date()
Hello fans of PB,
I noticed something mysterious in the Date()-Bibo:
If I add four days to 01.01.1901, then 10.02.2037 is displayed: date = Date(1901, 1, 1, 0, 0, 0)
Debug FormatDate("%dd.%mm.%yyyy", AddDate(date, #PB_Date_Day, 4))
If I enter the year 1902, then I correctly arrive at 05.01.1902 ...
I noticed something mysterious in the Date()-Bibo:
If I add four days to 01.01.1901, then 10.02.2037 is displayed: date = Date(1901, 1, 1, 0, 0, 0)
Debug FormatDate("%dd.%mm.%yyyy", AddDate(date, #PB_Date_Day, 4))
If I enter the year 1902, then I correctly arrive at 05.01.1902 ...