Dates
Revision as of 20:47, 3 October 2023 by User (talk | contribs) (Created page with "<strong>Use the current locale's date format.<strong> Import the following import { dateFormats } from '@/common-date'. The dateFormats is an object that contains the same date format for each library such as Kendo UI (kendoUi property) and Moment.js (moment property). For example, for moment you do moment(startingDate).format(this.dateFormats.moment). <strong>Date picker vs date input.</strong> Kendo UI has these two components. Use the date picker for filters. Use th...")
Use the current locale's date format. Import the following
import { dateFormats } from '@/common-date'. The dateFormats is an object that contains the same date format for each library such as Kendo UI (kendoUi property) and Moment.js (moment property). For example, for moment you do moment(startingDate).format(this.dateFormats.moment).
Date picker vs date input. Kendo UI has these two components. Use the date picker for filters. Use the date input for fast data entry e.g. date fields in editable tables.
Return to Programming Guide