1.

Solve : Want Numeric Month From C++?

Answer»

I am a new C++ programmer USING a Borland C++ COMPILER on my Windows XP.

I want to check the CURRENT date and then do some testing based on the month. I'd like to get a numeric month.

I can get a string of "08" for example for AUGUST using _strdate, but I want to be able to use >, &LT; or = like > 4 and < 9 to equal "summer". Can anyone help me? Thanks.

Rickuse getdate() function
look it up in your turbo C help file
i am assumeing you understand structures



Discussion

No Comment Found