getWeekStartDate Type documentation¶
TypeScript declaration¶
Get the first date of the week based on the input date. Returns: a new date object which is the start of the current week. Get the first date of the week based on the input date. Returns: a new date object which is the start of the current week. import { getWeekStartDate } from '@siemens/element-ng/datepicker';getWeekStartDate(current: Date, weekStartDay?: WeekStart = 'monday'): Date
Types Documentation¶
import type { WeekStart } from '@siemens/element-ng/datepicker';
Except where otherwise noted, content on this site is licensed under MIT License.