PHP code example of alesteq / date-ja
1. Go to this page and download the library: Download alesteq/date-ja 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/ */
alesteq / date-ja example snippets
composer
lesteq\DateJa\DateJa;
$dateJa = new DateJa();
// 祝日の場合はTRUE、平日の場合はFALSE
$holiday = $dateJa->isHoliday(2019, 5, 1); // TRUE