Hi dear colleges,
I meet a issue that the date format function in UI5.
I want to get the date format string like "2016-02-02T17:01:12.156+0800", in my local and WTS chrome the value is right, but in another windows 2008 server's chrome, the value is wrong, it becomes "2016-02-02T17:01:12.156".
My code is:
var oDateFormat = sap.ui.core.format.DateFormat.getDateTimeInstance({
pattern : "yyyy-MM-ddTHH:mm:ss.SSSZ"
});
var createAtTime = oDateFormat.format(new Date());
console.log(createAtTime );
Could you help me to point what's the problem and how to solve it? Thank you.
Best regards,
Coco