It looks like some developers think that DateTimeUtil::newDateTime(01\01\2006, 86400) will result in 01-01-2006 11:59:59 PM.
In fact, it will be 02-01-2006 12:00:00 AM.
Be careful when defining ranges for UtcDateTime fields.
In fact, it will be 02-01-2006 12:00:00 AM.
Be careful when defining ranges for UtcDateTime fields.
No comments:
Post a Comment