@technobuddha > library > Time > Month
Function: beginningOfMonth()
ts
function beginningOfMonth(input: Date, options: DateOptions): Date;Defined in: beginning-of-month.ts:12
Determine the start of the month for a dateDetermine the start of the month for a date
Parameters
| Parameter | Type | Description |
|---|---|---|
input | Date | The date |
options | DateOptions | see DateOptions |
Returns
The date value for midnight on the first day of the specified month
Default Value
ts
utc false