/* GMTIME.C: This program uses gmtime to convert a long- * integer representation of coordinated universal time * to a structure named newtime, then uses asctime to * convert this structure to an output string. */
#include <time.h> #include <stdio.h>
void main( void ) { struct tm *newtime; long ltime;