My timezone is BeiJing GMT(+8) .
When I read a dateset to xml from the database , the datetime string likes this :
2009-02-16T09:21:49.7271.4903404
return date = Date.parseDate('2009-02-16T09:21:49.7271.4903404', 'Y-m-d H:i');
result : null
return date = value.dateFormat('Y-m-d H:i'), '2009-02-16T09:21:49.7271.4903404', 'Y-m-d H:i
');
return :NaN NaN ...
How to get the right datetime form localization ?
Can anybody help me ?
thanks .![]()