All pastes #766735 Raw Edit

Unnamed

public c v1 · immutable
·published 2007-11-09 02:58 UTC
rendered paste body
#include <stdio.h>#include <stdlib.h>#include <time.h>int main(void){	time_t rawtime;	struct tm *utctime;	rawtime = time(NULL);	utctime = gmtime(&rawtime);	utctime->tm_hour += -6;	mktime(utctime);	printf("%s\n", (asctime(utctime)));	return 0;}