gettimeofday or such
Okay,
How do I get the current time of the day?
All I want is a number between 0-23.
I want it to use the systems clock, no messing around with custom timezones
or such ( this is the reason im posting here anyway, as I dont really get the
timezone thing in getimeofday() )
Can anybody post a short snippet of code to help me out?
- Me
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement