Thread: Extracting System Date and Time

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    41

    Extracting System Date and Time

    I checked through the FAQ and didn't find a method to retrieve the system date and time. I would like to show these items on a menu formatted as follows:
    i.e. date in MM/DD/YYYY
    time in HH:MM
    Any suggestions?

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Look up ctime (or time.h for out of date compilers).

  3. #3
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Woop?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. Sending an email in C program
    By Moony in forum C Programming
    Replies: 28
    Last Post: 10-19-2006, 10:42 AM
  3. how to ouput system date and time?
    By toaster in forum C++ Programming
    Replies: 1
    Last Post: 04-21-2002, 10:58 PM
  4. how to pull system time, date, etc from <ctime>
    By Matt in forum C++ Programming
    Replies: 1
    Last Post: 09-25-2001, 09:08 AM