Question

Microsoft date format

  • 23 September 2016
  • 1 reply
  • 3 views

Badge +22
  • Contributor
  • 1961 replies

Has any one used the Microsoft Date Format in FME.

I have a json object containing

"DateCreated" : "\\/Date(1461265817000-0400)\\/"

Which is apparently April 21, 2016, but I have no idea how to convert it.


1 reply

Userlevel 1
Badge +12

Hi,

The date you have shown is a epoch date with timezone (have a look at

http://www.epochconverter.com/ for thorough details)

So it is %s in Dateformatter, for this portion

1461265817 (removing the last three zeros which are the milliseconds, and the timezone)

Cheers,

Todd

Reply