Date.Month
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 month from a DateTime value.
Date.Month(dateTime as datetime) as nullable number
| Argument | Description |
|---|---|
| date | The Date to retrieve the month for. |
Date.Month(DateTime.FromText("2011-02-19")) equals 2
Show: