I need to split an int into two ints. I have the year which I got from strptime() and need to get the first two digits into one int and the last two digits into another int. What is the method for doing so?
So year = 2007
firstDigits = 20
lastDigits = 07
So year = 2007
firstDigits = 20
lastDigits = 07