1
Reply

time(NULL) in C# ?

oneneno

oneneno

Jan 5 2005 7:25 AM
4k
hi, Im have to port a Unix projekt to C# /* the timestamp in the id fields uses NTP time format and is in seconds * since 00:00 (midnight) 1 January 1900; i.e. we must add 70 years * (including the leap days) to the UNIX time stamp (seconds since beginning * of 1970) */ #define UNIX_NTP_DIFF 2208988800U clock_correction = server_seconds - UNIX_NTP_DIFF - time(NULL); What means UNIX_NTP_DIFF and time(NULL) in C# ??? best regards

Answers (1)