Comment on page
Date.StartOfWeek
Returns the first value of the week.
function (optionaldateTime
as nullable any, optionalfirstDayOfWeek
as nullable any) as nullable any
Returns the first value of the week given a
date
, datetime
, or datetimezone
value.Date
Find the start of the week for October 10th, 2011, 8:10:32AM (
#datetime(2011, 10, 10, 8, 10, 32)
).Date.StartOfWeek(#datetime(2011, 10, 10, 8, 10, 32))
datetime(2011, 10, 9, 0, 0, 0)
Last modified 5yr ago