Skip to main content
Solved

String Date/Time is not recognised.

  • November 13, 2020
  • 2 replies
  • 19 views

Forum|alt.badge.img

Greetings,

I am reading in Date/Time items in String format from an ESRI REST API.

 

I have a field uploaded with values (below):

1331249589000

1331249634000

1331249646000

1331249638000

 

FME cannot identify/transform the values??

 

Any suggestions or pointers would be appreciated.

Regards,

Clive

 

 

 

 

Best answer by ebygomm

It's a UNIX timestamp (time in milliseconds since epoch)

If you divide the value by 1000 and use %s as the input format in a DateTimeConverter you will be able to turn it into a more recognisable date

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • November 13, 2020

It's a UNIX timestamp (time in milliseconds since epoch)

If you divide the value by 1000 and use %s as the input format in a DateTimeConverter you will be able to turn it into a more recognisable date


Forum|alt.badge.img

Thanks, much appreciated.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings