Question

Formatting of FileProperties DateTime

  • 15 November 2017
  • 2 replies
  • 1 view

Badge

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


2 replies

Userlevel 2
Badge +17

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.

Badge

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

Reply