Power Automate: convertTimeZone function
Converts a timestamp between two time zones, daylight saving included. Output drops the zone marker.
Function Day is where I explore the basics of a function and share recommendations on how to actually use it. I focus on Power Automate, SharePoint, and Power Apps, because there is so much to dig into there, though other references show up from time to time. Do not expect an exhaustive list of every function, since Microsoft's own reference already covers that. Instead I pick the common ones and build from there, one function at a time. Articles land on a regular schedule, and with three platforms to rotate through you can count on Power Automate, SharePoint, and Power Apps entries coming around in turn. When time allows I speed things up, but a steady rhythm is what keeps Function Day delivering useful, in-depth breakdowns you can rely on.
Converts a timestamp between two time zones, daylight saving included. Output drops the zone marker.
Sums the values that meet several conditions at once. All conditions combine with AND, not OR.
Returns the current timestamp plus a number of time units. Always counts from UTC now.
Converts a UTC timestamp into a target time zone. Returns a string with no offset or Z marker.
Returns one of two values based on whether a condition is true or false.
Converts a timestamp from a source time zone to UTC using Windows time zone names.
Adds numbers, cells, or ranges into a single total. A single error in the range takes over the result.
Converts text to uppercase, leaving numbers and punctuation untouched. The result is always text.
Checks if a string is an integer.
Counts the cells in a range that contain numbers. Ignores text, blanks, and errors.
Extracts a substring by position. Supports negative indices; endIndex is exclusive.
Returns the first record that matches a condition, or a single reduced value. Blank if nothing matches.