Skip to main content
Solved

Date format conversion Unix

  • June 12, 2020
  • 2 replies
  • 219 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

itay
Supporter
Forum|alt.badge.img+18
  • 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

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