The company I am working on this project for is in Phoenix, AZ.
We are going to be sending out SMS appt reminders to people located around the US. I have an API to handle finding their timezone based on zip code. I am using
to bring in information that includes the Timezone abbreviation.
I haven't put together the code/formula to account for timezone changes when sending out the reminders yet, but that isn't my issue.
My issue is the when everyone else goes back and forth from DST to Standard Time Phoenix doesn't. They are on Mountain time now and Pacific time during DST.
I figure that if I can get the DST changes automated via api, then I can switch my offset formula to calculate when the change event comes through. Basically I can have 2 sets of formulas; One that, for example, adds 2 hours to an East Coast appt time in winter. Then when the DST event occurs my code can point to the other set of formulas that adds 3 hours to an appt time during DST, using a boolean.
I don't want to get all of the other parts figured out and then have this be a bigger issue than I initially planned for.
Does anyone have any ideas about tackling the AZ issue?
Huge thanks in advance!
#API #Flow #Apex