compareDate Type documentation¶
TypeScript declaration¶
Compares two dates. Returns: 0 if the dates are equal, a number less than 0 if the first date is earlier, a number greater than 0 if the first date is later. Compares two dates. Returns: 0 if the dates are equal, a number less than 0 if the first date is earlier, a number greater than 0 if the first date is later. import { compareDate } from '@siemens/element-ng/datepicker';compareDate(first: Date, second: Date): number
Except where otherwise noted, content on this site is licensed under MIT License.