Thread: How i can Access the system DATE

  1. #1
    Registered User
    Join Date
    Jun 2007
    Location
    Qatar
    Posts
    39

    Cool How i can Access the system DATE

    Hi,
    Can someone tell me about the function to access the current date(day,month,year)of the system in Borland 5.02.

  2. #2
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    937
    There is a structure called std::tm in <ctime>. Using functions in ctime, you can fill a tm structure with information about date and time.
    http://www.cplusplus.com/reference/clibrary/ctime/
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    There's also GetSystemTime().

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Advancing Days
    By nhubred in forum C++ Programming
    Replies: 0
    Last Post: 06-01-2009, 06:22 PM
  2. Replies: 4
    Last Post: 06-13-2005, 09:03 AM
  3. Replies: 3
    Last Post: 06-13-2005, 07:28 AM
  4. reading the system date
    By Alicia in forum C++ Programming
    Replies: 5
    Last Post: 02-13-2002, 03:18 PM
  5. System Date
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 08-28-2001, 06:03 PM