- Aug
- 2,059
- 83
2012 is a leap year. Take note of the following;
February 30, 2012 returns the same number of days since January 1, 1980 as March 1, 2012.
Why are 02/30/2012 and 02/31/2012 being recognized as valid dates?
I'm using TCC 11.
Joe
Code:
echo %@date[02/29/2012]
11747
echo %@date[02/30/2012]
11748
echo %@date[02/31/2012]
11749
echo %@date[03/01/2012]
11748
Why are 02/30/2012 and 02/31/2012 being recognized as valid dates?
I'm using TCC 11.
Joe