Mantis - Quercus
Viewing Issue Advanced Details
2393 major always 02-03-08 10:08 02-06-08 21:22
brink  
nam  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.5  
0002393: mktime different behaviour
the mktime function under PHP will allow you to enter at least days of any integer including negative, which will then add or deduct past the current selected month, for instance when month is month is 3 and days are 90 then the month will progress to May, and the day to 29.

We do make use of this functionality in webERP, edgeERP and Azeco webERP, also an opensource projects and in all cases this severely affect dates in the system. A major problem in accounting systems where we often want to do work between dates, separated by a number of days, weeks or months, etc. This may also cause problems in database management systems where date ranges/intervals are calculated this way.

Notes
(0002727)
nam   
02-06-08 21:22   
php/191r