Fixed typemax, typemin for Date/DateTime