eo_date_interval
since 1.5
eo_date_interval( $_date1, $_date2, $format )
Calculates and formats an interval between two days, passed in any order.
It's a PHP 5.2 workaround for date interval format
This does not correctly handle DST but instead mimics the same buggy behaviour exphibted by PHP's date interval.
See https://bugs.php.net/bug.php?id=63953
Parameters
Return value
string
|
Formatted interval.
|
Changelog
Related
- https://bugs.php.net/bug.php?id=63953