Skip to main content
Question

Something strange with date

  • September 17, 2020
  • 1 reply
  • 8 views

melanied
Contributor
Forum|alt.badge.img

Hello,

 

I submit this very simple workspace that writes three text files containing the current date obtained in different ways from a private parameter (Today).

I get 3 different files when I thought I could get the same 3 files. Moreover, there is no problem to create directories containing the date.

Unless I'm mistaken, it looks like a bug. Especially since when I designed the workspace, test1.txt contained the expected result... If the .fmw is copied or moved, the problem occurs.

I ran this workspace on version 2020.1 (FME(R) 2020.1.1 (20200817 - Build 20614 - WIN64).

 

 

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

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • September 18, 2020

It looks like there are different implementations of Parameter handling.Today definition

The way $Today is defined you shouldn't get anything else then @Left(@DateTimeNow(),8) without using @Evaluate. Lets wait for someone from Safe to comment on this.