DateTime.IsInNextMinute Function in Power Query

The DateTime.IsInNextMinute function in Power Query indicates whether the given datetime value occurs during the next minute, as determined by the current date and time on the system.

Syntax

DateTime.IsInNextMinute(dateTime as any) as nullable logical

Example: Determine if the minute after the current system time is in the next minute.

Power Query M

let
    Source = DateTime.IsInNextMinute(DateTime.FixedLocalNow() + #duration(0, 0, 1, 0))
in
    Source
        

The output of the above code is TRUE.

Note: This function will return false when passed a value that occurs within the current minute.