Skip to main content
Released

Date calculator transformer

Related products:FME Form

erik_jan
Contributor

Quite often I need to calculate the difference between two dates. The result can be needed in days, hours, minutes or formatted like a date.

This is hard to accomplish in FME.

A DateCalculator transformer would resolve this.

<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

13 replies

takashi
Evangelist
  • December 16, 2015

The DateDifferenceCalculator (FME Store) maybe satisfies your requirement.


davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • December 17, 2015

Hi Erik - there's a DateDifferenceCalculator in the FME Store originally created by Iris Gutowski, its awesome and I use it quite a lot. Is this the droid you've been looking for?


erik_jan
Contributor
Forum|alt.badge.img+18
  • Author
  • Contributor
  • December 17, 2015

Wow David, that is exactly what I was looking for. I should check the FME store more often.


erik_jan
Contributor
Forum|alt.badge.img+18
  • Author
  • Contributor
  • December 17, 2015

Might be good idea to add this functionality to the new AttributeManager as it creates a new attribute.


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • December 19, 2015

We've got big plans for dates in FME 2016.1....


stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • December 22, 2015

I think it's better to add a DateAdd function just like the one in T-SQL so you can use the function anywhere in the transformers.


bruceharold
Contributor
Forum|alt.badge.img+17
  • Contributor
  • January 6, 2016

Units to agree with Esri's time module would be handy:

http://desktop.arcgis.com/en/desktop/latest/analyz...


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • February 6, 2016

Would you believe FME 2017.0


darkspatiallord
Forum|alt.badge.img+6

ahh ESRi time...


lferg
Contributor
Forum|alt.badge.img
  • Contributor
  • May 15, 2016

I often need to calculate the age of some asset in years from usually todays date. Adding years as opposed to days would be great.


kimo
Contributor
Forum|alt.badge.img+10
  • Contributor
  • May 16, 2016

Dates before 1900 need to be handled. Sqlite date function uses Julian dates back to 4000 BC.


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • January 25, 2017

There is a DateTimeCalculator in FME 2017 which is currently available as a Release Candidate on our downloads page. We'd love to have feedback on this before the release.


Forum|alt.badge.img+1

This has been released as part of FME 2017.0 . Visit http://www.safe.com/downloads to download and give it a spin.


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