#include #include #include void main() { struct timeb timebuf; char *tod; ftime( &timebuf ); tod = ctime( &timebuf.time ); printf( "The time is %.19s.%hu %s", tod, timebuf.millitm, &tod[20] ); }