src/PN/Utils/General.php
/*
     * @version      : 1
     * @author       : Peter Soliman <peter.samy@gmail.com>
     * Description   : checks if a given date is included in an interval
     */
@version      : 1
@author       : Peter Soliman 
Description   : checks if a given date is included in an interval
@version : 1 @author : Peter Soliman Description : checks if a given date is included in an interval
public static function dateInBetween($date, $startDate, $endDate) {
        if ((strtotime($date) - strtotime($startDate)) >= 0 && (strtotime($endDate) - strtotime($date)) >= 0)
            return TRUE;
        else
            return FALSE;
    }
public static function dateInBetween ( $ date , $ startDate , $ endDate ) { if ( ( strtotime ( $ date ) - strtotime ( $ startDate ) ) >= 0 && ( strtotime ( $ endDate ) - strtotime ( $ date ) ) >= 0 ) return TRUE ; else return FALSE ; }
@version      : 1
 @author       : Peter Soliman <peter.samy@gmail.com>
 Description   : checks if a given date is included in an interval
@version : 1 @author : Peter Soliman <peter . samy@gmail . com > Description : checks if a given date is included in an interval