Date.IsInNextDay Function in Power Query

The Date.IsInNextDay function in Power Query indicates whether the given datetime value dateTime occurs during the next day, as determined by the current date and time on the system.

Syntax

Date.IsInNextDay(dateTime as any) as nullable logical

Example: Let’s the current date is 3 April 2025.

Power Query M

let
    Source = Date.IsInNextDay(#date(2025, 4, 4))
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 day.