DateTime.IsInCurrentMinute

This function checks if a specific datetime value (dateTime) falls within the current minute on the system's date and time. The input parameter should be a datetime or datetimezone value.

Syntax

DateTime.IsInCurrentMinute(dateTime as any) as nullable logical

About

This function checks if a specific datetime value (dateTime) falls within the current minute on the system's date and time. The input parameter should be a datetime or datetimezone value.

Explanation

Check if the current time shown on the system is within the current minute. Usage: Power Query M function MDateTime.IsInCurrentMinute(DateTime.FixedLocalNow()) Output: true.