Disclaimer: Not a C++ guy.

Where can I find some examples of date/time comparisons?

Example: I'd like to get some user input for both date and time and then sit back and watch the clock until that time occurs and then perform a task.

I'd like to understand the string input and the next steps. Do I need to convert the string into a date/time or can I make compares based on string values? Is there a function to take a string and make it a date/time?

Any help is appreciated.


Thanks.
Scott