datetime conversion
from english to german format
JavaScript
var a = "2011-02-21T08:00:00Z";
//document.writeln(a.substr(0, 19));
// document.writeln(a.substr(11,10));
// document.writeln(a.split('T'));
var dt = a.substr(0, 19).split('T');
// document.write(dt[0]);
var date = dt[0].split('-');
var time = dt[1].split(':');
gdate = date[2] + "." + date[1] + "." + date[0];
gtime = time[0] + ":" + time[1];
datetime = gdate + ", " + gtime;
var d = new DateTime();
//document.write(datetime);
alert(d);