[Gambas-user] gb.GeneralDate formatting is inconsistent
Zach Smith
zachsmith022 at ...626...
Fri Feb 3 05:41:53 CET 2012
The gb.GeneralDate formatting appears to be inconsistent in the
handling of time 00:00:00..
Dim d1 As Date, d2 As Date, d3 As Date
d1 = CDate("1/1/2003 00:00:00")
d2 = CDate("1/1/2003")
d3 = CDate("00:00:00")
Print Format(d1, gb.GeneralDate)
Print Format(d2, gb.GeneralDate)
Print Format(d3, gb.GeneralDate)
Results in:
01/01/03
01/01/03
00:00:00
Shouldn't the first line return this?
01/01/03 00:00:00
More information about the User
mailing list