Syntax
Date.EndOfDay(dateTime as any) as any
Description
Returns a date, datetime, or datetimezone value representing the end of the day in dateTime. Time zone information is preserved.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference