An ever-growing Power Automate Functions

My way of explaining each entry with as much detail as I can. You'll find suggestions, best practices, things to avoid, and limitations.

Last updated

Experience

I'll include all my experiences (good and bad) working with them.

For everyone

I want people to use it and share it. So I won't put any restriction on it on this reference.

By everyone

Please contribute! The better I can make it, the better it will be for everyone.

Lots of places

I learn from lots of places, so some things may be found elsewhere.

Collection (12)

Go to top

Data Conversion (12)

Go to top

Data Selection (1)

Go to top

Date (19)

addDays

Adds or subtracts days from a date. The day count must be an integer, not a decimal.

View

addHours

Adds or removes hours from a date with a custom format.

View

addMinutes

Adds or removes minutes from a date with a custom format. No date range limits.

View

addSeconds

Adds or removes seconds from a date with a custom format.

View

addToTime

Adds seconds, minutes, hours, or days to a date in one call.

View

convertFromUtc

Converts a UTC timestamp into a target time zone. Returns a string with no offset or Z marker.

View

dateDifference

Returns days.hours:minutes:seconds between two dates as a string.

View

dayOfMonth

Returns the day of a timestamp as an integer 1-31.

View

dayOfWeek

Returns an integer for the day of the week from a date. Sunday is 0, Saturday is 6.

View

dayOfYear

Returns 1-366 for any date.

View

formatDateTime

Converts a date into any format using specifiers or custom patterns like 'ddd MM yyyy'.

View

getFutureTime

Returns the current timestamp plus a number of time units. Always counts from UTC now.

View

getPastTime

Returns the current timestamp minus a number of time units. Always counts back from now in UTC.

View

startOfDay

Resets a timestamp to midnight.

View

startOfHour

Returns the exact start of an hour from a timestamp.

View

startOfMonth

Returns the first day of any month.

View

subtractFromTime

Subtracts an interval from a timestamp you supply. Returns a string; months clamp to month end.

View

ticks

Converts a date to 100-nanosecond intervals since year 0001.

View

utcNow

Returns the current UTC date and time.

View
Go to top

Flow (6)

Go to top

Logical Operator (10)

Go to top

Math (9)

Go to top

String Manipulation (15)

Go to top

URI Conversion (5)

Go to top

Power Automate Function Reference (4)

Go to top