Hi

I am using the code to get the current date
CTime aNow = CTime::GetCurrentTime();
char month[3];
char day[3];
char year[6];
char todaysdate[30];

itoa(aNow.GetMonth(), month, 10);
itoa(aNow.GetYear(), year, 10);
itoa(aNow.GetDay(), day, 10);

strcat(todaysdate,month);

I am getting value of month but apart from that I am also getting an unexpected character "He"

so My final output is

He 12

Why this extra He is coming.

Kindly advice

Regards
Karan