I am having a dilemma with manipulation of time and date in an assignment. I understand that I can only get limited help with my problem so any and every hint will definitely help me get going in the right direction!
During my program I am prompting the user to enter a start date, and start time then I will prompt again to ask them to enter a stop date and stop time. Now I have researched into date and time functions with regards to the Ctime library but I'm really unsure and confused about how to manipulate the functions with regards to my code.
Here's a sample of how it looks like:
Please note that it's in the format [DAY:MONTH:YEAR HOUR:MINUTE:SECOND] for both start date/time and stop date/time. I want the user to be able to enter any time or date that they want and not use the current system time etc. My professor mentioned that we could use it as a string but later on in the program I will have to subtract two times to see if the device is done recording (My program is to create a programmable household device system).
Again any and all help is greatly appreciated!