Navigation

Search

jeffsdatediff

Description

Internal utility function used for calculating the difference between two dates. Takes time offset values into account.

Syntax

int jeffsdatediff (int $old)



Parameter $old

Expected type: Integer
Description: The "old" date represented as a Unix timestamp



Return value

Expected type: Integer
Description: An integer value specifying how many days have passed between the current time and the specified date


Notes

  • Takes time offset values into account.
  • Value rounded up to next highest integer
View all versions of this function