How to Convert Time Zones (and Handle Daylight Saving)
How to convert time zones the safe way: go through UTC, watch daylight saving, and know what to do with times that never happen or happen twice.
Dates look simple until a month end, a leap year or a time zone gets involved. These guides explain how to count days, add months, find week numbers, work with business days and convert time zones and timestamps, with worked examples you can check.
How to convert time zones the safe way: go through UTC, watch daylight saving, and know what to do with times that never happen or happen twice.
Learn how to calculate age from a date of birth in years, months and days by hand, why 365 shortcuts fail, and how a 29 February birthday is counted.
Learn how to calculate days between dates by hand, whether to count the end date, how leap years and month ends behave, and how weekdays are counted.
Cron expression examples you can copy, the five-field syntax, and the day-of-month and day-of-week trap that runs jobs on days you did not expect.
Convert Unix timestamp to date by hand, in code or with a free tool. Tell seconds from milliseconds, avoid the 1970 bug and learn what happens in 2038.