Thread: reading the system date

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    8

    Unhappy reading the system date

    how do you create a date constructor that reads the system date using the standerd library functions of the <time.h>header and sets the date members?? plz help soon, has to be handed in within the hour and i have everything else working to go with the program, just cant figure this part out!! thanx

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    http://www.cprogramming.com/cboard/s...ad+system+time

    ???

    (people should beginto ask for help a little sooner, methinks)

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    8

    ???

    alright, i went and looked at that, but honestly, it ment nothing to me... that gets the time right??? i need the date.. then be able to plug that date into the rest of teh program for it to run... and yes, i realize its a bit late, but ive got everything else done, and totally forgot about that part of the assignment...

  4. #4
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    http://www.cprogramming.com/cboard/s...ht=system+date

    Sorry... I can't read This printed off the dat and time for me.

  5. #5
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Govt... could you tell me how to draw a square.

    I need to know in fifteen seconds please!
    Blue

  6. #6
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Dammit! It is too late... I am doooooommmed!!!!!!
    Blue

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. calculate age from date
    By bazzano in forum C Programming
    Replies: 1
    Last Post: 08-22-2005, 08:57 AM
  2. Getting system Date
    By Sridar in forum C++ Programming
    Replies: 4
    Last Post: 08-10-2005, 08:51 PM
  3. Replies: 4
    Last Post: 06-13-2005, 09:03 AM
  4. bad system date
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 04-30-2003, 08:29 AM
  5. System Date
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 08-28-2001, 06:03 PM