CRN0

HKT to PST cron converter

PST is currently 16 hours behind HKT. Convert PST to HKT

UTC+8
UTC-8
0 17 * * *

At 17:00 every day in Los Angeles.

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

Hong KongLos Angeles

Examples

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

Questions

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

PST is currently 16 hours behind HKT. Subtract 16 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 HKT) becomes 0 17 * * 0-4 in PST.

What is the time difference between HKT and PST?

Hong Kong Time is UTC+8 and Pacific Time is UTC-8 / UTC-7. Right now pST is currently 16 hours behind HKT.

Does daylight saving time affect HKT to PST cron conversion?

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

What is midnight HKT in PST cron?

Midnight in HKT (0 0 * * *) is 0 8 * * * in PST, on the previous day.