in reply to Re^11: 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
Hey ikegami
I've updated the script again (missing brackets around the leap year check). I've also added a test script to run through all dates in a year. Days from/to should progress smoothly up and down to 0 on the current date, which they do for me (but I have no DST change). If there's a DST issue, I would expect a jump in the sequence on time change day. But it may also depend on the time of day (current time) when you run the script?