PHP code example of fzed51 / calendar-helper

1. Go to this page and download the library: Download fzed51/calendar-helper 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/ */

    

fzed51 / calendar-helper example snippets


\CalendarHelper\Calendar::isBisextile(2020);
\CalendarHelper\Calendar::isBisextile(new Date());

\CalendarHelper\Calendar::numberOfDays(2020,06);
\CalendarHelper\Calendar::numberOfDays(new Date());

\CalendarHelper\Calendar::isHolidays(2020,07,14);
\CalendarHelper\Calendar::isHolidays(new Date());

\CalendarHelper\Calendar::holidaysList();