Skip to content

changeDay Type documentation

(date: Date, day: number) => Date
Function
Update date/day of give date without changing the month. In case the day exceed the number of days in the current month the last day in month will be assigned.
-
Returns the updated date object.
Parameters
the date object to update the day.
date: Date
the day which shall be set.
day: number

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.