Skip to main content
Question

Current Date function

  • December 11, 2013
  • 1 reply
  • 1826 views

ls-vea
Contributor
Forum|alt.badge.img
Hello,

 

Does anyone know of an easy way to separate out dated attributes >= today's date (or Current_Date function)

 

 

example (deliver _Date>=Current_Date-60)

 

 

Thanks

 

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.

1 reply

ca
Contributor
Forum|alt.badge.img+3
  • Contributor
  • December 11, 2013
The TimeStamper transformer will create an attribute that contains the current date.

 

 

Another option as referenced at the link below is to use the DateFormatter for an attribute with the value 'today'. You could also use a phrase like '1 week ago' or '60 days ago' and the DateFormatter will perform the calculation for you.

 

 

http://fmepedia.safe.com/AnswersQuestionDetail?id=906a0000000cgoiAAA