How can i pull the system date, time, etc..using the ctime.h head file? I also looked in ctime.c
any help would be great,
thanks in advance
mp
How can i pull the system date, time, etc..using the ctime.h head file? I also looked in ctime.c
any help would be great,
thanks in advance
mp
This will do it for you:
Code:#include <time.h> #include <stdio.h> void main( void ) { time_t ltime; time( <ime ); printf( "The time is %s\n", ctime( <ime ) ); }