Time Converter
Convert time between different formats and units. Convert hh:mm:ss to decimal hours, calculate seconds, minutes, hours, days, weeks, and more. Also includes Minecraft-specific conversions: game ticks, redstone ticks, and world time for redstone engineering and automation, plus Hytale game ticks at 30 TPS for server tuning. Works as a minecraft clock calculator for timing day-night cycles.
Examples & Use Cases
Time Format Examples
Time to Decimal Hours:
- 1:30:00 → 1.5 hours
- 2:15:30 → 2.258333 hours
- 0:45:00 → 0.75 hours
Decimal to Time:
- 1.5 → 1:30:00
- 2.75 → 2:45:00
- 0.25 → 0:15:00
Unit Conversion Examples
Common Conversions:
- 72 hours → 3 days
- 1 day → 24 hours → 86,400 seconds
- 1 week → 7 days → 168 hours
- 90 minutes → 1.5 hours → 5,400 seconds
Minecraft Conversions:
- 20 minutes real time (1 MC day) → 24,000 game ticks
- 1 second real time → 20 game ticks → 10 redstone ticks
- 100 game ticks → 5 seconds → 50 redstone ticks
- 12:00 world time (noon) → 5 minutes elapsed real time
- 5 minutes real time → 12:00 world time (noon)
- 18:00 world time (sunset) → 10 minutes elapsed real time
- 02:00 world time (late night) → 16.67 minutes elapsed real time
Hytale Conversions:
- 1 second real time → 30 game ticks
- 100 game ticks → 3.333 seconds
- 15 minutes real time (default day-night cycle) → 27,000 game ticks
- 600 seconds (default DaytimeDurationSeconds) → 18,000 game ticks
Supported Input Formats
Time Format (hh:mm:ss):
- Full format: 1:30:45, 12:00:00
- Without seconds: 1:30, 12:00
- Single digits: 1:5:30, 0:45
- Hours only: 2 (interpreted as 2:00:00)
Decimal Numbers:
- Whole numbers: 2, 24, 72
- Decimals: 1.5, 2.75, 0.25
- Large numbers: 86400 (seconds), 1440 (minutes)
Minecraft Time System
Game Ticks (20 ticks/second):
- Day-Night Cycle: 24,000 ticks = 20 minutes real time
- Key Times: Sunrise (0 = 06:00), Morning (1,000 = 07:00), Noon (6,000 = 12:00), Sunset (12,000 = 18:00), Midnight (18,000 = 00:00), Late Night (20,000 = 02:00)
- Mob Spawning: Hostile mobs spawn when light level ≤ 7 (around tick 13,000-23,000)
- Crop Growth: Most crops have random tick updates every few game ticks
World Time (24-hour format):
- Format: HH:MM (e.g., 06:00, 12:30, 18:45)
- Day Start: 06:00 = tick 0 (sunrise) = 0 minutes elapsed
- Time Mapping: 12:00 (noon) = 5 minutes elapsed, 18:00 (sunset) = 10 minutes elapsed, 00:00 (midnight) = 15 minutes elapsed, 02:00 (late night) = 16.67 minutes elapsed
- Real Time: Converts to actual elapsed time since day start (useful for planning)
- Input: Accepts both time format (12:00) or direct game ticks (6000)
Redstone Ticks (10 ticks/second):
- Redstone Delay: Each redstone component adds 1-2 redstone ticks of delay
- Repeater Delay: 1-4 redstone ticks depending on setting
- Clock Circuits: Timing based on redstone tick intervals
- Piston Speed: Extends/retracts in 1.5 redstone ticks (3 game ticks)
Hytale Time System
Game Ticks (30 ticks/second):
- Tick Rate: Hytale servers tick at 30 TPS, or 33.33 ms per tick. Minecraft runs at 20 TPS, so Hytale tick counts are 1.5x higher for the same real time
- Conversions: 1 second → 30 ticks, 1 minute → 1,800 ticks, 15 minutes → 27,000 ticks
- Performance: Dropping below 25 TPS causes noticeable movement rubber-banding
Day-Night Cycle (server configurable):
- Not a fixed constant: unlike Minecraft's 24,000 ticks per day, Hytale's cycle length is a per-world setting, so there is no single tick count for a Hytale day
- Defaults: 600 seconds of daytime and 300 seconds of nighttime, a 15 minute cycle, which is 27,000 ticks at 30 TPS
- Where to change it:
DaytimeDurationSecondsandNighttimeDurationSecondsunderGameplayConfigin/hytale/universe/worlds/<world_name>/config.json - Units: both keys are in seconds, not ticks
Time Commands:
- /time set <hours>: also accepts the period shortcuts Dawn, Midday, Dusk and Midnight
- /time pause: freezes the cycle, aliased as
stop - /time dilation <float>: speeds up or slows down time. Defaults to 1.0, and values of 0.01 or below, or above 4.0, are rejected
Common Use Cases
- Payroll: Convert time sheets (8:30) to decimal hours (8.5)
- Project Management: Calculate total hours from time logs
- Programming: Convert between milliseconds and human-readable time
- Exercise/Sports: Convert workout times to different units
- Cooking: Convert recipe times between minutes and hours
- Minecraft: Design redstone circuits, calculate farm timings, plan day-night activities
- Hytale: Convert server tick counts to real time, size up day-night cycle settings before editing config.json
Enjoying this tool?
Every tool here is completely free. If it saved you time, a small donation helps keep them running and growing.
Support NogardJoin the community
Get help, request features, share your work, and hear about new tools first on the Discord server.
Join Discord