Forum Post: New Ui - Date Formatting And User Settings

  • Thread starter Thread starter Meryk
  • Start date Start date
Status
Not open for further replies.
M

Meryk

Guest
Hello, I am just trying to set a date field in the new UI. Now we need to create a date with the current user Date format, that seems to be the one stored in "My Localization Settings". Which I am doing like that : var todayDate = kendo.toString(kendo.parseDate(new Date()), 'dd/MM/yyyy'); myDatePicker.data("kendoDatePicker").value(todayDate); How can we get the date format of the current user? Its does not seem to be available from current user in the helper editor. The date format that we can get to is the one in "My Settings". What is the difference between "My Settings" and "My Localization Settings"? And which one of those settings is the one we should use ? Thank you Meryem

Continue reading...
 
Status
Not open for further replies.
Back
Top