Table of Contents

MonthStart(date)

Category: Date and Time function


Description

This function returns the date serial number of the first day of the month date falls in.


Arguments

ArgumentTypeDescription
dateDate or Number (date serial)An expression representing a date to derive the month's first day date value from.

Return value type: Date serial number


Remarks

The date argument can take any value or expression that evaluates to a date serial value. Examples include:


Examples

monthstart(#2018-06-06)  //Returns 43252 (Equivalent to June 1st, 2018.)
monthstart(#2020-01-28)  //Returns 43831 (Equivalent to January 1st, 2020.)


See also