I'm working on an automation task and need to set a condition to update a custom field to true if the current time is between 9:00 AM and 4:30 PM PST. However, I've encountered an issue: when the current time is 1:00 PM, the condition returns false.
Here is my setup for the automation:
{{now.convertToTimeZone("America/Los_Angeles").shortTime}}
Thanks
Hi @David Lam
Welcome to the community!
Try working with 24H format instead.
{{now.convertToTimeZone("America/Los_Angeles").format("HH")}}
Then you can use is greater than 9 and is less than 17.
Best regards
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.