Power Automate: convertToUtc function
Converts a timestamp from a source time zone to UTC using Windows time zone names.
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 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.
Returns the month of a date as a number from 1 to 12. Empty date fields return 12
Sorts an array in ascending order by value or property.
Reverses the order of items in an array.
Encodes a string for safe system-to-system transfer. Adds 33% size overhead.
Returns a random integer within a range. Negative numbers supported; no floats.