Menu

#632 Year-check 1753-9999 not valid for type 'date'

v1.2
open
5
2012-08-16
2010-10-13
No

The constructor DateTime(Date d) runs packDate(), which then does a check on the date's year (valid: 1753-9999). However, this restriction only applies for 'datetime' and timestamp data types, but not for a 'date'. Sybase ASE allows years 0001 - 9999 for type 'date'.

Discussion


Log in to post a comment.