compareDate Type documentation¶
TypeScript declaration¶
import { compareDate } from '@siemens/element-ng/datepicker';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.
compareDate(first: Date, second: Date): number
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.
Except where otherwise noted, content on this site is licensed under MIT License.