+ Start a Discussion
Vasavi VajinepalliVasavi Vajinepalli 

InvalidDateValue error when setting 12/31/9999 in a Date property


Incorrect maxdate. When a date is being set, it is verified against a max date possible and the maxdate value was used to be Dec 31 9999 and the hours,  minutes and seconds value used to be the current time when the server starts. But the maxdate should be "00:00:00 1st Jan 10000" (excluded). Can anyone please help me.

Thanks in advance.
You cannot got past the year 4000 with a Date field.

[1] https://success.salesforce.com/answers?id=90630000000giqGAAQ