in reply to Date/Time

It's not returning a year of 10, it's returning a year of 100. Just add 1900 to the year ( or subtract 100 if you want 2-digit years ) and it should work.