Cómo convertir la marca de tiempo de Unix a la hora estándar en c. ¿Existe alguna función?
Código C/C
#include lt;stdio.hgt;
#include lt;time.hgt;
int main(void)
{
time_t tick;
struct tm tm;
char s[100];
tick = tiempo(NULL
tm = *localtime(amp; tick);
strftime(s, sizeof(s), "Y-m-d H:M:S", amp.tm);
printf("d: s\n", (int)tick, s
devuelve 0;