PHP code example of znframework / package-datetime

1. Go to this page and download the library: Download znframework/package-datetime 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/ */

    

znframework / package-datetime example snippets


 N::run();

Output::writeLine(Date::standart());
Output::writeLine(Time::current());
Output::writeLine(Date::calculate('{year}-{monthNumber}-{dayNumber}', '30 day'));