Date.Day

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns the day for a DateTime value.

Date.Day(dateTime as datetime) as nullable number  

ArgumentDescription
dateThe Date to retrieve the day for.
Date.Day(DateTime.FromText("2011-02-19")) equals 19  

Show: