![]() |
| | #1 |
| Registered User Join Date: Jun 2009
Posts: 2
| time calculations |
| posiedon is offline | |
| | #2 |
| pwning noobs Join Date: Jun 2009 Location: The Great White North
Posts: 125
| I think you need the localtime function. See localtime(3) - Linux man page . To get the time_t parameter to pass into localtime, use time_t myTime = time(NULL); Available on linux or Windows.
__________________ Sun Certified Java Programmer / Developer IEEE CSDP |
| Zlatko is offline | |
| | #3 |
| Registered User Join Date: Jun 2009
Posts: 2
| Thanks a bunch. I'm new to C programming. |
| posiedon is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get current time | tsubasa | C Programming | 3 | 05-01-2009 02:03 AM |
| How to improve time performance of these operations | lehe | C Programming | 11 | 03-29-2009 12:27 PM |
| calculating user time and time elapsed | Neildadon | C++ Programming | 0 | 02-10-2003 06:00 PM |
| Is this really true or it's just science fiction? | Nutshell | A Brief History of Cprogramming.com | 145 | 04-09-2002 06:17 PM |
| time class | Unregistered | C++ Programming | 1 | 12-11-2001 10:12 PM |