Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
GetLocalTime
SUBMITTED BY:
Guest
DATE:
Feb. 12, 2014, 6:36 p.m.
FORMAT:
Text only
SIZE:
275 Bytes
Raw
Download
Tweet
HITS:
1227
Go to comments
Report
void GetLocalTime()
{
time_t current;
struct tm *timeptr;
time(¤t);
timeptr = localtime(¤t);
SystemTimewHour = timeptr->tm_hour;
SystemTimewMinute = timeptr->tm_min;
SystemTimewSecond = timeptr->tm_sec;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus