I am working on a calendar program. I am using a formula to calculate the start day of the month. The problem I have my user inputing a year using 4 digits for instance 1988. The formular however requires that the only the last 2 digits. I thought about simply subtracting 1900 but this calendar needs to work for multiple centureires. Is there someway of spliting up Integers? Maybe casting them to a string. I am open for suggestions and am thankful for any help. Thank you and Merry Christmas.

12-22-2005, 10:43 PM

II DaN II

just take the remainder of the year divided by 100.