I'm trying to use this function to cast a date attribute to set a value
on a form. The function works fine when using dates with years up to
2013 for example, but when using dates with years like 9999 the function
returns an incorrect year.
For example, my input to the function form.dateToString(parsedDate,
false) is "Fri Dec 31 9999 00:00:00 GMT-0300" and the return wrong value
is "12/31/8099". When testing this function with dates like "Tue Oct 21
2014 00:00:00 GMT-0300" or any similar the return string is ok
I know that those years are not commonly used, but we are using date
99991231 for some specific reason and I need to display it in form.
Does anyone have any ideas of what could be happening, or a workaround
for this situation?

I'm using IDM 4.0.2 and RBPM 4.0.2 Patch C

Thanks in advanced

sbenavidez's Profile: https://forums.netiq.com/member.php?userid=560
View this thread: https://forums.netiq.com/showthread.php?t=48852