সম্পাদনা
#include <stdio.h> #include <time.h> int main() { time_t current = time(NULL); struct tm *local = localtime(¤t); printf("%d:%%d:%%d", local->tm_hour, local->tm_min, local->tm_sec ); return 0; }
পূর্বরূপ