Advertisement

Getting current date/time

Started by November 11, 2002 02:22 PM
0 comments, last by George2 22 years, 2 months ago
Does anybody know how to get the current date/time in C++ ?
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon
use the function "time".

Do you know about the "apropos" command? it''ll save you from having to ask a lot of really simple questions. For instance, the command "apropos time" will give you the manpages for everything containing the word "time". Next time, look there first.

Don''t listen to me. I''ve had too much coffee.

This topic is closed to new replies.

Advertisement