in reply to Re^10: Calculate Age, days to next and days from last for a given birthday
in thread Calculate Age, days to next and days from last for a given birthday
I'd like to see an example of off by a day with certain combinations of current time, current date and current timezones.
Sure, tell me on which date the time spring forwards or falls back this year Note that I only *think* your program will return an incorrect answer for some time periods due to DST, as I have said earlier. I'm not sure what the circumstances are that causes the problem, which is why I use timegm+gmtime to completely avoid the issue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Calculate Age, days to next and days from last for a given birthday
by ruzam (Curate) on Apr 29, 2006 at 20:18 UTC | |
|
Re^12: Calculate Age, days to next and days from last for a given birthday
by ruzam (Curate) on Apr 29, 2006 at 18:13 UTC |