constant PD2_SEC_PER_YEAR in Partial Date 7
The number of seconds for a tropical year in 2000.
Outside of the 1AD to 3999AD, leap years are ignored and a set number of seconds per year are used to calculate the number seconds per year for the timestamp estimations. This is a float column, so the percision of this should be calculated to decide if this can be reduced even more.
1 use of PD2_SEC_PER_YEAR
- partial_date_mktime in ./
partial_date.module - Creates a timestamp based on the available components.
File
- ./
partial_date.module, line 998 - Defines a date element that allows for any combination of date granularity settings.
Code
define('PD2_SEC_PER_YEAR', 31556925);