PHP code example of sirolad / cron-date

1. Go to this page and download the library: Download sirolad/cron-date 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/ */

    

sirolad / cron-date example snippets


composer 


use Sirolad\CronDate;

$expression = new CronDate('2017-12-2 11:02:25');
echo $expression->getCronDate(); //2 11 2 12 6