PHP code example of starshums / jdejulianconverter

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

    

starshums / jdejulianconverter example snippets


starshums\jdejulianconverter\JDEJulianConverterServiceProvider::class,

'JJC' => starshums\jdejulianconverter\JDEJulianConverter::class,

$converter = new \JJC;
$date = $converter->Convert(110123); // expected result : 2010-05-03