Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How in VC++ do I read the current date into program to compare?

Status
Not open for further replies.

cold25

Programmer
Joined
Feb 11, 2002
Messages
41
Location
US
What bit of code would read the current date in from the computer, for comparison with a date I have assigned to a variable in my VC++ program? I'm sure it's simple, but I've never seen it in a program before. Any idea what would do this?

Thanks,

cold25
 
is mfc ok for you ? then you can use CTime class.
it is very very easy to use
Read between the lines
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top