Get system's current time

Discussion in 'C++' started by navS, Oct 20, 2008.

  1. navS

    navS Guest

    hey team,
    how do i get the system's current time in c or c++.
    can any body tell me the method or peace of code. I am in need of it,
    please.

    ]Thanks in advance
    naveen
    navS, Oct 20, 2008
    #1
    1. Advertising

  2. navS

    asm23 Guest

    navS wrote:
    > hey team,
    > how do i get the system's current time in c or c++.
    > can any body tell me the method or peace of code. I am in need of it,
    > please.
    >
    > ]Thanks in advance
    > naveen

    Please see here: http://www.cplusplus.com/reference/clibrary/ctime/
    But I think your OS will supply a more precise timer just like Victor said.
    asm23, Oct 24, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Manu
    Replies:
    1
    Views:
    6,094
    Natty Gur
    Jul 20, 2003
  2. The One
    Replies:
    5
    Views:
    567
    Steve W. Jackson
    Nov 29, 2006
  3. flamesrock
    Replies:
    8
    Views:
    449
    Hendrik van Rooyen
    Nov 24, 2006
  4. Rick
    Replies:
    0
    Views:
    251
  5. Replies:
    5
    Views:
    2,245
    Dominick Baier [DevelopMentor]
    Nov 8, 2005
Loading...

Share This Page