Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Get system's current time

Reply
Thread Tools

Get system's current time

 
 
navS
Guest
Posts: n/a
 
      10-20-2008
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
 
Reply With Quote
 
 
 
 
asm23
Guest
Posts: n/a
 
      10-24-2008
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using time.gov to get the current time Rick Python 0 12-19-2009 10:17 PM
JAVA Time Problem: Want to get the current time and perform validation The One Java 5 11-29-2006 02:37 PM
Is time.time() < time.time() always true? flamesrock Python 8 11-24-2006 06:51 AM
Formatting a time (not current time) B. Schad Java 8 09-04-2003 07:39 AM
How to change the current thread current culture at run time. Manu ASP .Net 1 07-20-2003 03:27 PM



Advertisments