Hi.
I'm having some touble printing year.
Here is the code where I expected an output of "Year: 2013"
time_t tm;
time(&tm);
struct tm ts;
errno_t err = localtime_s(&ts,&tm);
cout << "Year:\t" << ts.tm_year << endl;
But what I get is "Year: 113"
Appreciate any help offered.