Formula for determining whether a date occurred during daylight savings or standard time

I've got a sheet that I'm using to track the go live dates of items for a project I'm working on. These always go live at 10:00am in my local time (PST/PDT). The go live timestamps for these items need to be entered in UTC on the backend, when means the times need to be entered as 18:00 if the item's go live date is during standard time or 17:00 if the item's go live date is during daylight savings.

I'd like to reduce the opportunity for human error by adding a column with a formula that increases the visibility of dates that fall within the standard time window versus dates that fall within the daylight savings window. I've been able to do this in Excel using the formula below, but haven't had any success in translating it to Smartsheet.

=IF(MATCH(A2,DATE(YEAR(A2),{1,3,11},{1,15,8})-WEEKDAY((DATE(YEAR(A2),{1,3,11},7))))=2,"17:00","18:00")

Ultimately, I'd like to find a formula that's flexible enough that it doesn't need to be modified constantly, and that doesn't require me to reference a completely separate, manually maintained sheet full of dates.

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!