createDate Type documentation¶
TypeScript declaration¶
import { createDate } from '@siemens/element-ng/datepicker';Creates a new date object on from a date with or without time.
Returns
createDate(value: Date, hours?: number = 0, minutes?: number = 0, seconds?: number = 0, milliseconds?: number = 0): Date
Creates a new date object on from a date with or without time.
Returns
Parameters
-
• The date from with the year, month and day is taken.
-
• Optional numeric value of the hours, otherwise 0.
-
• Optional numeric value of the minutes, otherwise 0.
-
• Optional numeric value of the seconds, otherwise 0.
-
• Optional numeric value of the milliseconds, otherwise 0.
milliseconds?:
number=0¶
Except where otherwise noted, content on this site is licensed under MIT License.