CRN0

SAST to PST cron converter

PST is currently 10 hours behind SAST. Convert PST to SAST

UTC+2
UTC-8
0 23 * * *

At 23:00 every day in Los Angeles.

Show timeline and next runs
Johannesburg
00061218
00061218
Los Angeles
Each amber mark is a run time. The top strip shows Johannesburg 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 Johannesburg.

JohannesburgLos Angeles

Examples

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

Questions

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

PST is currently 10 hours behind SAST. Subtract 10 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 SAST) becomes 0 23 * * 0-4 in PST.

What is the time difference between SAST and PST?

South Africa Standard Time is UTC+2 and Pacific Time is UTC-8 / UTC-7. Right now pST is currently 10 hours behind SAST.

Does daylight saving time affect SAST to PST cron conversion?

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

What is midnight SAST in PST cron?

Midnight in SAST (0 0 * * *) is 0 14 * * * in PST, on the previous day.