Hi guys, i query to get the date and time value of the field_validFrom and i check on the database, there's two data/record save on the database that is field_validFrom(this is the correct date and time) and field_validFromutc(incorrect one) but the data that i get was the utc datetime or maybe the conversion was wrong? and this is my conversion for the dateandtime
convertODataDateToODataString: function (crmDate) {
var date = new Date(parseInt(crmDate.replace("/Date(", "").replace(")/", ""), 10));
date = date.toISOString();
return date;
},
and this is the datetime save on my database the first one was field_validfrom and the second is field_validfromutc

but im sure that the data they get was the utc. Does anyone knows this?
Thanks for the help
*This post is locked for comments
I have the same question (0)