Help with converting timezones
Hello, I am still very much learning Deluge and I’m hoping someone can assist me with building a code. The goal is to send an email to leads that are created in CRM after hours. I’m building this out using Flow, however, the biggest issue is that our company is split between a few different time zones. Our business hours are 8am-6pm Eastern Standard Time, but I need the after hour emails to send outside the hours of 8am-6pm British Standard Time (BST), not EST. I have reached out to support and they told me to update our business hours, but I need to keep our business hours in EST.
Is it possible to have a code built that converts the hours AND minutes the lead is created to BST and then have it return true/false based on if it’s within or outside of Monday-Friday 8am-6pm BST?
The other way I’m thinking is that 8am-6pm BST is 3am-1pm EST, so maybe we just keep it in EST but do it that way?
Any helpful hints would be amazing!