Time Decimal
Convert times of day to the fraction of the day elapsed.
Each time of day represents a fraction of a 24-hour day. There are 86,400 seconds in a day (24 × 60 × 60), so the conversion is:
totalSeconds = hours × 3600 + minutes × 60 + seconds
percent = totalSeconds ÷ 86400
- Total Seconds is the raw decimal value (e.g. 8:24:00 am gives 30,240).
- % is the percentage of the day elapsed (e.g. 35%).
- Value is that percentage rounded to a two-digit number, the form used by many geocaching puzzles.
For puzzles that pack coordinates into clock times, line up the resulting two-digit values and assemble them into a coordinate. The summary block under the results table shows the concatenated digits ready to read as DDM coordinates.
Accepted: 8:24:00 am, 14:24:00, 8:24 am, 08:24
Case
Filter
Whitespace
Find & Replace
Quick insert:
Group
Every
chars
| # | Input | 24-Hour | Total Seconds | % of Day | Value |
|---|
Values:
Concatenated: