16 Mar
2004
16 Mar
'04
7:35 p.m.
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
ptm = localtime(&utc); ptm = gmtime(&utc); ret = last_bias = (int)(utc-mktime(ptm));
I my understanding mktime(gmtime(time(NULL))) == time(NULL)
No, mktime takes local time, it's the reverse of localtime(), not gmtime(). -- Alexandre Julliard julliard(a)winehq.org