if delay >= DAY_TIMESTAMP : work in days
else work in minutes
public computeEndDate ( $start, $delay, $additional_delay, $work_in_days = false, $end_of_working_day = false ) : end | ||
$start | datetime begin | |
$delay | timestamp delay to add | |
$additional_delay | timestamp delay to add (default 0) | |
$work_in_days | boolean force working in days (false by default) | |
$end_of_working_day | boolean end of working day (false by default) | |
리턴 | end | date |