PHP code example of bzarzuela / deadline-calculator
1. Go to this page and download the library: Download bzarzuela/deadline-calculator library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
php
$calculator->tatInHours(24)
->operatingHours('09:00:00', '17:00:00'); // 9am to 5pm working hours
php
$calculator->tatInHours(24)
->operatingHours('09:00:00', '17:00:00') // 9am to 5pm working hours
->saturday('09:00:00', '12:00:00') // Half day on Saturday
->noSunday(); // No work on Sundays
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.