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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Manage Dates

Status
Not open for further replies.
Jan 20, 2005
180
US
Im an old programmer, but has been too many years since I have done much with VC++.

Im am starting work on a scheduling function.
Im having a few problems with my design because I do not know how to manage the dates and so forth.

For each project there is a Delivery date.
From this point I need to setup a Calendar so to speak.

I am figuring CTime will be the way to go with this however I am lacking any documentation for this.

My Basic needs are as follows
I need to know the 'Short Date', and 'Weekday' of each Day between Current Day, and the Last Delivery Day of the projects.
The Last Delivery day will come to me as a String.

if nothing else I will write my own function from the struct tm. However Im really trying to learn more VC++ as Im working toward a hug application that is coming.
 
And What in gods name do I use for an include to get CTime.
 
There is a Calendar control if you look in the toolbox.
 
Thanks cpjust... that was a time saver... I couldnt find it in my .h files.. heh..

xwb, this is a console app, not a dialog so that does me no good. Even if it was, what I need to do, the Calender control does not handle for me. but thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top