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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.