CRN0

GST to PST cron converter

PST is currently 12 hours behind GST. Convert PST to GST

UTC+4
UTC-8
0 21 * * *

At 21:00 every day in Los Angeles.

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

DubaiLos Angeles

Examples

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

Questions

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

PST is currently 12 hours behind GST. Subtract 12 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 GST) becomes 0 21 * * 0-4 in PST.

What is the time difference between GST and PST?

Gulf Standard Time is UTC+4 and Pacific Time is UTC-8 / UTC-7. Right now pST is currently 12 hours behind GST.

Does daylight saving time affect GST to PST cron conversion?

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

What is midnight GST in PST cron?

Midnight in GST (0 0 * * *) is 0 12 * * * in PST, on the previous day.