Home | History | Annotate | Download | only in ndp

Lines Matching defs:gmt

134 static int32_t thiszone;	/* time difference with gmt */
979 * Returns the difference between gmt and local time in seconds.
986 struct tm *gmt, *loc;
991 gmt = &sgmt;
992 *gmt = *gmtime(&t);
994 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
995 (loc->tm_min - gmt->tm_min) * 60;
998 * If the year or julian day is different, we span 00:00 GMT
1002 dir = loc->tm_year - gmt->tm_year;
1004 dir = loc->tm_yday - gmt->tm_yday;