DateTime.IsInCurrentMinute

Updated on

DateTime.IsInCurrentMinute is a Power Query M function that indicates whether the provided date(time) value occurs during the current minute, as determined by the system.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

DateTime.IsInCurrentMinute( dateTime as any ) as nullable logical

Description

DateTime.IsInCurrentMinute indicates whether the given dateTime argument (which can be of type datetime or datetimezone) occurs during the current minute, as determined by the current date and time on the system.

Examples

Determine if the current system time is in the current minute.

// Output: true
DateTime.IsInCurrentMinute( DateTime.FixedLocalNow() )

Other functions related to DateTime.IsInCurrentMinute are:

BI Gorilla Blog

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/datetime-isincurrentminute