public function current(array $condition)
    {
        $value = strtotime(reset($condition['value']));
        return empty($value) ? false : $this->compare(GC_TIME, $value, $condition['operator']);
    }
public function current(array $condition)
    {
        $value = strtotime(reset($condition['value']));
        return empty($value) ? false : $this->compare(GC_TIME, $value, $condition['operator']);
    }
public function current ( array $ condition ) { $ value = strtotime ( reset ( $ condition [ 'value' ] ) ) ; return empty ( $ value ) ? false : $ this -> compare ( GC_TIME , $ value , $ condition [ 'operator' ] ) ; }
Whether the date condition is met
@param array $condition
@return boolean
Whether the date condition is met