Skip to main content
Solved

Date format conversion Unix


boubcher
Contributor
Forum|alt.badge.img+11

Hello there

Traying to use FME to convert date format

date : 1591982226

conversion :Friday, June 12, 2020 5:17:06pm

the conversion was done using this tool ( https://www.silisoftware.com/tools/date.php?inputdate=1591982226&inputformat=unix )

 

is there a way we get the same result with FME transformer

Thanks

 

Best answer by itay

Hi,

This looks like a job for the DateTimeConverter transformer and the date value looks suspiciously like epoch, so using %s as your input date should to the trick.

Hope this helps.

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

2 replies

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • Best Answer
  • June 12, 2020

Hi,

This looks like a job for the DateTimeConverter transformer and the date value looks suspiciously like epoch, so using %s as your input date should to the trick.

Hope this helps.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • June 13, 2020
itay wrote:

Hi,

This looks like a job for the DateTimeConverter transformer and the date value looks suspiciously like epoch, so using %s as your input date should to the trick.

Hope this helps.

@itay

THanks working

 


Reply


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