KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am developing an Appointment application in C++ and want to use some Date and Time features. Is it easier to just use strings when talking about Date and Time, or should I write or get a Date/Time class? I am wanting to code an appointment class that holds both the time and date of an appointment. Once I have coded the class file, I am wanting to integrate it into a forms application in C++ builder. I see that there is a TMonthCalendar control. I would like to use this control when making the forms application. As such, what format for the date does this control use? I would like to use the same type as the control when making the class so that I can easily integrate it together. UPDATE I have found that it uses the TDateTime type. My question is this: What include statement do I need to use to use this in a console application?
Tags (comma-separated)
Save Edits
Cancel