back to forum.

Topic: Convert to date gives null

Topic by
satjat

2012-01-26
12:16

Convert to date gives null

Hello all,
I am facing a problem with COnvert to date transformer.
It detects null values when it shouldn't. It only happens when hour is 3:XX.
Example rows, string and conversion result:

28/3/2009 12:50 Sat Mar 28 12:50:00 EET 2009
29/3/2009 2:55 Sun Mar 29 02:55:00 EET 2009
28/3/2009 12:55 Sat Mar 28 12:55:00 EET 2009
29/3/2009 3:05 <null>
28/3/2009 13:00 Sat Mar 28 13:00:00 EET 2009
29/3/2009 3:15 <null>
28/3/2009 13:05 Sat Mar 28 13:05:00 EET 2009

Reply by
kasper

2012-01-26
14:42
Which date masks are you using? Seems from your data you should be using a date mask like this:
dd/MM/yyyy HH:mm
When I do that, those values seem to be parsed correctly.

Reply by
satjat

2012-01-30
09:59
Thanks for your reply and for attempting to replicate the problem.

This is indeed the used mask.
I tend to believe it is a PC specific issue since it works normally on other PCs.
It is strange, however, since there is no possible codepage or similar misconfiguration that could cause this.

You need to be logged in to participate

In order to post your own comments on this topic, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen

 

Go back to forum.