I took this example from Chapter 6 K&B. Here is the code
When i call it, it shows the date is 09 September but when i try to retrieve the month in line one, it returns 8. It should return 9.
When i add another month in line 2, it turns the month to October. When i retrieve the month, it gives back value 9. Actually October
is the 10th month. Why is that?