Search My BLOG
Free Translater For All Languages
Mobile Phone Location Tracker
phone number location and operator in India
Just enter 10 digits phone number in the search box and click on Trace.
All The Best !!!!!
Thursday, November 12, 2009
C Program to Get the Current System Time
This program reads the current system time and displays it in the form HH:MM:SS
#include
#include
#include
int main(void)
{
struct time t;
gettime(&t);
printf(”The current time is: %2d:%02d:%02d\n”, t.ti_hour, t.ti_min, t.ti_sec); return 0;
}
{
struct time t;
gettime(&t);
printf(”The current time is: %2d:%02d:%02d\n”, t.ti_hour, t.ti_min, t.ti_sec); return 0;
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment