|
Posted by Michael Fesser on 01/05/07 04:51
..oO(Rik)
>Well strtotime has it's advantages. However, it's poorly documented and
>sometimes unpredictable. After a short while I reverted back to working
>with adding/subtracting timestamps, just with a comment in the code beside
>it. Equally (or even more) clear thans to the comment, and 100%
>predictable.
Yep, but in some cases you have to be very careful when doing date/time
calculations by hand. Daylight saving time can be an issue for example.
Micha
Navigation:
[Reply to this message]
|