starshums / jdejulianconverter
A Laravel library that converts a given Oracle JD Edwards Julian date to the standard Gregorian date.
Requires
- php: >=5.6.4
This package is auto-updated.
Last update: 2025-06-29 01:41:15 UTC
README
A Laravel library that converts a given Oracle JD Edwards Julian date to the standard Gregorian date.
Date fields in JD Edwards are stored in the Julian format where the date format is CYYDDD
For more information on this format please visit this page
❔ Installation
Require this package in your composer.json and update composer.
composer require starshums/jdejulianconverter
and then update composer :
composer update
After updating composer, add the ServiceProvider to the providers array in config/app.php
starshums\jdejulianconverter\JDEJulianConverterServiceProvider::class,
You also need to add the alias. Add this to your aliases:
'JJC' => starshums\jdejulianconverter\JDEJulianConverter::class,
📖 Usage
$converter = new \JJC; $date = $converter->Convert(110123); // expected result : 2010-05-03
🤝 Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.