Hi,
I am using Kendo UI Web and am trying to format a DateTime. The code snippet is shown as below:
...
My model contains the DateTime data but displays as shown below
2012-11-27T11:22:16.5049451-06:00
I have also tried the following but similarly does not work
template: '#= kendo.toString(StartDateTime,"MM/dd/yyyy") #'
Please help. Thanks in advance.
I am using Kendo UI Web and am trying to format a DateTime. The code snippet is shown as below:
$(
"#reportListGrid").kendoGrid({
columns: [
{ field:
"StartDateTime", title: "Upload Start Date", type: "date", width: "70px", format: "{0:dd/MM/yyyy}"},
...
My model contains the DateTime data but displays as shown below
2012-11-27T11:22:16.5049451-06:00
I have also tried the following but similarly does not work
template: '#= kendo.toString(StartDateTime,"MM/dd/yyyy") #'
Please help. Thanks in advance.