Skip to main content
Question

Formatting of FileProperties DateTime

  • November 15, 2017
  • 2 replies
  • 6 views

Forum|alt.badge.img

Hi,

I've got a formatting problem with dateTime that comes with the FileProperty-Reader (as part of Workspace-Reader). The dateTime is not formatted like YYYYMMDDHHMMSS as expected.

If month, days, hours, minutes or seconds are just one digit, there is no leading zero. So it displays something like '20171127135' which could be 12th of January 7:13 am and 5 seconds or maybe 27th of November?

I'm using 2016.1 and can't check this on later versions so far. Are there ways to get this issue handled or is it an early version bug?

Thanks in advance,

Maik

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

takashi
Celebrity
  • 7843 replies
  • November 15, 2017

Hi @maikhertel, I was able to reproduce the same symptom with FME 2016.1.3.2 and FME 2017.0. It's a terrible bug. We cannot extract correct datetimes from the values anyway.

In the latest release version FME 2017.1.1.1, it seems to have been fixed already. If the datetime values are critical for your project, consider upgrading FME to the latest version.


Forum|alt.badge.img
  • Author
  • 8 replies
  • November 15, 2017

Thank you @takashi for that quick answer and tests, so I will wait for 2017.1 to be installed...