PHP code example of sayuprc / date-type

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

    

sayuprc / date-type example snippets




use DateType\ImmutableDate;

// A date is generated with the time in the state 00:00:00.000000
$date = new ImmutableDate();