Hi,
In an API we are attempting to consume, the date is being returned as follows;
Code:
"queue": [
{
"blob_url": "",
"create_time": "/Date(1668149153303+0000)/",
"file_name": "17603507.PDF",
"invoice_id": 17824747,
"log": "Successfully exported Supplier Invoice"
According to the developer it is Microsoft Json format and can be decoded as follows:
Code:
function parseMSDate(s) {
// Jump forward past the /Date(, parseInt handles the rest
return new Date(parseInt(s.substr(6)));
}
Does anyone have a DataFlex function, or exposed the MS function, that decodes the above value into something human readable?