https://prefect.io logo
b

Ben Muller

07/07/2021, 2:58 AM
Hey Prefect, trying to find info on how to set my timezone, couldnt find anything here. Is there a way to make my Cron clock that fires at 1pm everyday ( be my 1pm )
Australia/Sydney
time?
n

nicholas

07/07/2021, 3:27 AM
Hi @Ben Muller - the easiest way to do that would be to use this cron string:
Copy code
0 23 * * *
which will fire at 11PM UTC or 1PM AEST
b

Ben Muller

07/07/2021, 3:29 AM
Yes, it is just confusing to maintain UTC as our main timezone, is there a way to globally adjust it so that we can utilise our own local timezone @nicholas ?
all our flows are very time specific to the local
n

nicholas

07/07/2021, 3:35 AM
Ah, then I'd suggest you pass a timezone-aware timestamp as the clock's
start_date
! For anyone else that reads this thread, you can read more about clocks and schedules here. 🙂
Note that this will also auto-adjust for DST if the timezone you select is DST-observant
b

Ben Muller

07/07/2021, 11:48 PM
amazing, thank you @nicholas