PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins
/
sf-booking
/
frontend
/
modules
/
business-hours
<?php /** * Class AB_DateTime * * @info Rewritten for PHP 5.2 compatibility */ class SFDateTime extends DateTime { /** * Returns the difference between two DateTime objects * * @param DateTime $secondDate * @param bool $absolute * @return AB_DateInterval|bool|DateInterval */ public function diff ( $secondDate, $absolute = false ) { $firstDateTimeStamp = $this->format( 'U' ); $secondDateTimeStamp = $secondDate->format( 'U' ); $rv = $secondDateTimeStamp - $firstDateTimeStamp; $di = new SFDateInterval( $rv ); return $di; } // diff } // AB_DateTime
[+]
..
[-] SFTimeSlots.php
[edit]
[-] SFDateInterval.php
[edit]
[-] SFDateTime.php
[edit]
[-] bh-data.php
[edit]
[+]
templates
[-] BusinessHours.php
[edit]
[+]
resources