Incorrect return months

Hi!

I can not to get correct months in this function:
strftime(szData2, sizeof(szData2), "%m", localtime(&s.st_ctime));
Sometimes return not correct months.
Could you help me?
If it returns an incorrect month, you have fed it incorrect data. Feed it correct data.
Topic archived. No new replies allowed.