aki te va una funcion para ver si te sirve de algo
#include<stdio.h>
#include<conio.h>
#include<time.h>
void time()
{
char x;
time_t timer;
struct tm *tblock;
while(1){
timer = time(NULL);
tblock = localtime(&timer);
gotoxy(1,1);
printf("%s", asctime(tblock));
if(kbhit()){x=getch();break;}
}
}
main()
{
time();
}