webForumDet fria alternativet

gettimeofday till windows?

0 svar · 273 visningar · startad av fnolis

fnolisMedlem sedan sep. 200162 inlägg
#1

Vad ska man använda i windows för att få ut precis den informationen som man får ut av gettimeofday(...)? Dvs:
seconds and microseconds since 00:00 Coordinated Universal Time (UTC), January 1, 1970

*********************************

SYNOPSIS
#include <sys/time.h>

int gettimeofday(struct timeval *tp, void *tzp);

--------------------------------------------------------------------------------

DESCRIPTION
The gettimeofday() function gets the current time, expressed as seconds and microseconds since 00:00 Coordinated Universal Time (UTC), January 1, 1970, and stores it in tp.

125 ms totalt · 3 externa anrop · v20260731065814-full.2b84b982
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
122 ms — hämta tråd, inlägg och bilagor (db)