Timezone Conversion
Convert cron schedules between different timezones.
Conversion: When moving servers or coordinating global schedules, you may need to convert cron times between zones.
Common Conversions
| Time | EST/EDT | PST/PDT | UTC | CET/CEST |
|---|---|---|---|---|
| Midnight | 0 0 * * * | 0 21 * * * | 0 5 * * * | 0 6 * * * |
| 9 AM Business | 0 9 * * * | 0 6 * * * | 0 14 * * * | 0 15 * * * |
| 5 PM EOD | 0 17 * * * | 0 14 * * * | 0 22 * * * | 0 23 * * * |
Conversion Formula
UTC Conversion
To UTC: Local Time + UTC Offset
From UTC: UTC Time - UTC Offset
Examples:
EST (UTC-5): 9 AM EST = 9 + 5 = 14 UTC (2 PM)
PST (UTC-8): 6 AM PST = 6 + 8 = 14 UTC (2 PM)
Conversion Tools
Command Line
# Convert time zones
TZ='America/New_York' date
TZ='UTC' date
TZ='Europe/London' date
Online Calculators
Use worldtimebuddy.com or timeanddate.com for visual conversion
Migration Example
Moving from EST to UTC
Before (EST Server):
# Daily backup at 2 AM EST
0 2 * * * /backup.sh
0 2 * * * /backup.sh
After (UTC Server):
# Same backup at 2 AM EST = 7 AM UTC
TZ=UTC
0 7 * * * /backup.sh
TZ=UTC
0 7 * * * /backup.sh