CRN0

NZST to PST cron converter

PST is currently 21 hours behind NZST. Convert PST to NZST

UTC+13
UTC-8
0 12 * * *

At 12:00 every day in Los Angeles.

Show timeline and next runs
Auckland
00061218
00061218
Los Angeles
Each amber mark is a run time. The top strip shows Auckland local time and the bottom strip shows Los Angeles local time, lined up so the same moment sits on the same vertical line. Shaded areas are night hours.

Same moment as “at 09:00 every day” in Auckland.

AucklandLos Angeles

Examples

NZSTPST
0 9 * * *
0 12 * * *
0 9 * * 1-5
0 12 * * 0-4
*/15 * * * *
*/15 * * * *
0 0 * * *
0 3 * * *
30 2 * * 0
30 5 * * 6
0 0 1 * *
0 3 31 * *
0 */6 * * *
0 3-23/6 * * *
0 17 * * 5
0 20 * * 4
Every hour of the day
0 0 * * *0 3 * * *day before
0 1 * * *0 4 * * *day before
0 2 * * *0 5 * * *day before
0 3 * * *0 6 * * *day before
0 4 * * *0 7 * * *day before
0 5 * * *0 8 * * *day before
0 6 * * *0 9 * * *day before
0 7 * * *0 10 * * *day before
0 8 * * *0 11 * * *day before
0 9 * * *0 12 * * *day before
0 10 * * *0 13 * * *day before
0 11 * * *0 14 * * *day before
0 12 * * *0 15 * * *day before
0 13 * * *0 16 * * *day before
0 14 * * *0 17 * * *day before
0 15 * * *0 18 * * *day before
0 16 * * *0 19 * * *day before
0 17 * * *0 20 * * *day before
0 18 * * *0 21 * * *day before
0 19 * * *0 22 * * *day before
0 20 * * *0 23 * * *day before
0 21 * * *0 0 * * *
0 22 * * *0 1 * * *
0 23 * * *0 2 * * *

Questions

How do I convert a cron expression from NZST to PST?

PST is currently 21 hours behind NZST. Subtract 21 hours to the hour field, and shift the day-of-week if the time crosses midnight. For example, 0 9 * * 1-5 (weekdays at 09:00 NZST) becomes 0 12 * * 0-4 in PST.

What is the time difference between NZST and PST?

New Zealand Time is UTC+12 / UTC+13 and Pacific Time is UTC-8 / UTC-7. Right now pST is currently 21 hours behind NZST.

Does daylight saving time affect NZST to PST cron conversion?

NZST and PST observe daylight saving time, so the difference between NZST (UTC+12 / UTC+13) and PST (UTC-8 / UTC-7) changes during the year. Re-check your converted cron after each DST change.

What is midnight NZST in PST cron?

Midnight in NZST (0 0 * * *) is 0 3 * * * in PST, on the previous day.