PHP code example of jagdeepbanga / nova-date-time

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

    

jagdeepbanga / nova-date-time example snippets




use Jagdeepbanga\NovaDateTime\NovaDateTime as DateTime;

DateTime::make('End Date', 'end_date')
            ->pickerDefaultHour(23)  //Add default hour
            ->pickerDefaultMinute(59) //Add default minute
            ->pickerDefaultSeconds(59) //Add default seconds