Hi
you have got this error because of the system limit of data types, you may have probably used any data type in which , it crosses the maximum of the system alloted limit for that data type.
Please rectify your data type you have used in your program for calculating date and time.
Alternatively you have to apply suitable note to rectify this, i hope SAP Note 689242 and 1106062 will serve your purpose.
If not then find any suitable SAP Note and apply it.