I am working on a date class program that manipulates dates and times and outputs them in different formats and such.
I have a simple question:
Say I have a date, which is an integer, and is inputed like this:
1999 or 2004
4-digits, always. How do I output the LAST TWO digits without changing the value of the date itself???
1999 ---> 99
2004 ----> 04