Timezones in flows

Hi :slight_smile:

I have a few questions about how timezones are handled in flows.

I set the timezone to Europe/Oslo on the flow’s schedule trigger. I expected the datetimes inside the flow to be in Oslo time too, but when I tested it they came out in UTC.

A few questions:

  1. Is this intended? If so, I find it a bit confusing that you choose a timezone when setting up the trigger. Does that setting only control when the schedule runs?
  2. What’s the recommended way to convert to local time in the function editor? I need it to handle summer and winter time correctly. With the limitations in the function editor, whats the best way to do this?
  3. Running the flow from the app: I also run the same flow from the app, and then it looks like the app’s timezone is used. If so, how do I make sure the conversion only happens when the flow runs on the schedule, and not when it’s called from the app?

Thanks!

// Sigurd