comparison src/os/win32/ngx_time.c @ 358:0a03c921c81d

nginx-0.0.7-2004-06-17-21:18:53 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Jun 2004 17:18:53 +0000
parents 0ab66f4b6c4d
children da8c5707af39
comparison
equal deleted inserted replaced
357:e260514b9ad4 358:0a03c921c81d
29 tp->tv_sec = (long) (intervals / 10000000); 29 tp->tv_sec = (long) (intervals / 10000000);
30 tp->tv_usec = (long) ((intervals % 10000000) / 10); 30 tp->tv_usec = (long) ((intervals % 10000000) / 10);
31 } 31 }
32 32
33 33
34 ngx_int_t ngx_timezone(void) 34 ngx_int_t ngx_gettimezone(void)
35 { 35 {
36 TIME_ZONE_INFORMATION tz; 36 TIME_ZONE_INFORMATION tz;
37 37
38 if (GetTimeZoneInformation(&tz) != TIME_ZONE_ID_INVALID) { 38 if (GetTimeZoneInformation(&tz) != TIME_ZONE_ID_INVALID) {
39 return -tz.Bias; 39 return -tz.Bias;