How to get Date

This is a discussion on How to get Date within the C++ Programming forums, part of the General Programming Boards category; Hi all. If anyone knows how to get the date and store it in a char, pls tell me....

  1. #1
    Registered User sikamikaniko's Avatar
    Join Date
    Mar 2003
    Posts
    28

    How to get Date

    Hi all. If anyone knows how to get the date and store it in a char, pls tell me.

  2. #2
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    there is a struct you can use for this, assign the of year, month and day to local variables and use them! - its been a while since i used it so i cant remember any more than that.
    Monday - what a way to spend a seventh of your life

  3. #3
    Registered User sikamikaniko's Avatar
    Join Date
    Mar 2003
    Posts
    28
    10x anyway

  4. #4
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Advancing day by day until it matches a second date
    By nhubred in forum C++ Programming
    Replies: 1
    Last Post: 05-30-2009, 09:55 AM
  2. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 04:25 PM
  3. Date program starts DOS's date
    By jrahhali in forum C++ Programming
    Replies: 1
    Last Post: 11-24-2003, 05:23 PM
  4. CDate Class - handle date manipulation simply
    By LuckY in forum C++ Programming
    Replies: 5
    Last Post: 07-16-2003, 09:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21