Home
last modified time | relevance | path

Searched refs:HINNANT_EPOCH_SHIFT (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/date/lib/
H A Dtimelib_private.h100 #define HINNANT_EPOCH_SHIFT 719468 /* 0000-03-01 instead of 1970-01-01 */ macro
H A Dunixtime2tm.c35 days = ts / SECS_PER_DAY + HINNANT_EPOCH_SHIFT; in timelib_unixtime2date()
H A Dtm2unixtime.c209 g = time->d + HINNANT_EPOCH_SHIFT - 1; in magic_date_calc()
464 return era * DAYS_PER_ERA + day_of_era - HINNANT_EPOCH_SHIFT; in timelib_epoch_days_from_time()

Completed in 9 milliseconds