Power Query
Search…
Date.StartOfMonth

Date.StartOfMonth

Returns the first value of the month.
function (optional dateTime as nullable any) as nullable any

Description

Returns the first value of the month given a date or datetime type.

Category

Date

Examples

Find the start of the month for October 10th, 2011, 8:10:32AM (#datetime(2011, 10, 10, 8, 10, 32)).
1
Date.StartOfMonth(#datetime(2011, 10, 10, 8, 10, 32))
Copied!

datetime(2011, 10, 1, 0, 0, 0)

Last modified 3yr ago