Skip to content

createDate Type documentation

(value: Date, hours: number = 0, minutes: number = 0, seconds: number = 0, milliseconds: number = 0) => Date
Function
Creates a new date object on from a date with or without time.
Parameters
The date from with the year, month and day is taken.
value: Date
Optional numeric value of the hours, otherwise 0.
hours: number = 0
Optional numeric value of the minutes, otherwise 0.
minutes: number = 0
Optional numeric value of the seconds, otherwise 0.
seconds: number = 0
Optional numeric value of the milliseconds, otherwise 0.
milliseconds: number = 0

Types Documentation

No types to document for items on this page.


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