How to Convert Time to Seconds (and Seconds Back to Time)
Multiply hours by 3,600 and minutes by 60, then add the seconds: 1:30:45 is 5,445 seconds. This guide also covers the reverse, decimal hours and spreadsheets.
Calendar math done right: day counting conventions, leap years, business days, time zones, Unix timestamps and timesheet arithmetic. The three places date calculations genuinely go wrong, and how to keep them reliable.
Multiply hours by 3,600 and minutes by 60, then add the seconds: 1:30:45 is 5,445 seconds. This guide also covers the reverse, decimal hours and spreadsheets.
The Julian Day Number counts days from noon on 1 January 4713 BC, so date gaps become simple subtraction. See JD, JDN and MJD side by side with checked examples.
24-hour time runs from 00:00 to 23:59, so 1 PM is 13:00. Use the chart and four simple rules to convert either way, including the midnight and noon cases.
Counting toward and away from a moment, the three choices that define a finish line, round-number milestones, and the live timer’s hidden assumptions.
Three traps hide in timezone math: staggered DST switches, the two ambiguous twelves, and the date line. All three, made mechanical.
The two counts side by side, day-zero and rollover conventions, why holidays defeat automation, and the weeks trick that makes estimation easy.
Hours and minutes are base-60 pretending to be decimal: the carry rule, the 7.45 trap, a worked week of shifts, and where payroll cents leak.
Every log and API speaks a number near 1.78 billion: why 1970, how to read epochs at a glance, and the two traps that bend dates by millennia.
Calendar math is tricky in exactly three places: endpoint counting, leap years, and the month that has no fixed length. All three, settled.
Date and time tools handle a kind of arithmetic that looks simple and is quietly full of traps. Months have different lengths, some years carry an extra day, clocks run on two competing formats, and the world is divided into time zones that do not line up neatly. A single overlooked rule can throw a … Read more