+ 1

How to make calender and time displayed in c and cpp?

i want to make a reservation system based on time n date user's input

21st Feb 2017, 12:19 PM
kausper?QIANG?
kausper?QIANG? - avatar
8 Answers
+ 1
please go look at my codes as i have posted an example of how to get a timestamp in c++ hope this helps
23rd Feb 2017, 5:45 AM
Michael Szczepanski
Michael Szczepanski - avatar
+ 1
btw.. thank you very much:))
23rd Feb 2017, 6:29 AM
kausper?QIANG?
kausper?QIANG? - avatar
0
use java... c++ has a timestamp system where you can get the current tile in milliseconds. where as java, create a date and say date.getdate () #rip
23rd Feb 2017, 5:16 AM
Michael Szczepanski
Michael Szczepanski - avatar
0
what should i do or write to get the timestamp system? As i need to use c or cpp only.
23rd Feb 2017, 5:23 AM
kausper?QIANG?
kausper?QIANG? - avatar
0
gimme a min..... ill post a code. go check it out in a few minuets.
23rd Feb 2017, 5:30 AM
Michael Szczepanski
Michael Szczepanski - avatar
0
thnks.. but how bout if i want to display the current time to the output screen in c?
23rd Feb 2017, 5:55 AM
kausper?QIANG?
kausper?QIANG? - avatar
0
I have No idea. c and c++ are completely different languages. sorry...
23rd Feb 2017, 5:56 AM
Michael Szczepanski
Michael Szczepanski - avatar
0
do you hav any idea on when user input dateTime is already pass current dateTime system, it will display error.
24th Feb 2017, 9:42 AM
kausper?QIANG?
kausper?QIANG? - avatar