Syntax
Date.IsInYearToDate(dateTime as any) as nullable logical
Description
Indicates whether the given datetime value dateTime occurs during the current year and is on or before the current day, as determined by the current date and time on the system.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference