I am working on a REST API, which return a field named modified in the following format:-
2018-02-23T00:25:12Z
While i want to show the modified in the following format:-
23/02/2018 00:25
now inside my javascript i tried converting the modified value to string and provide a format as follow:-
items[i].Modified.toString("dd-MM-yyyy hh:mm");
but this did not change the date time format ??