Slackbot
06/21/2022, 9:16 PMAdam Cameron
"2021-02-02T18:29:57TZD"
on CF2016.
I get: "June, 21 2022 21:18:10"
Repro (https://trycf.com/gist/6c936a3a9fd496c784848a24d783ce0f/acf2016?theme=monokai):
st = {
d = dateConvert('local2Utc', now())
};
writeOutput(serializeJson(st));
I think perhaps you better show us a repro case of what yer actually doing, rather than just describe it...Steve
06/21/2022, 9:27 PMinfo.creationdttm = dateConvert("local2Utc",now());
...
queryParams[ { value=serializeJSON(info)... }]
The data stored as:
info.creationdttm:"2021-02-02T18:29:57TZD"
Now I get the invalid error. The structure is much bigger, hence my snippets. Let me see if I can create a small example...Steve
06/21/2022, 10:02 PMAdam Cameron
https://i2.paste.pics/e9428621fa7b748d0c8c80d1766957b0.png▾
Steve
06/22/2022, 3:45 PMSteve
06/22/2022, 6:59 PM