Gregorian Calendar to Ethiopian Calendar Converter for PHP
# EthiopianCalendar
Gregorian Calendar to Ethiopian Calendar Converter for PHP 5 & 7
> Steps to run the demo
1. Extract the files on your server's root directory
2. Go to your browser and navigate to **index.php**
3. You will get current date in GC & EC format
Or you can watch the demo here
> Use the following code to convert GC to EC
` `$EC = new EthiopianCalendar(date("Y-m-d")); // set current GC date`
`//$EC = new EthiopianCalendar(date("YYYY-mm-dd")); // custom date format`
`$EC->ECDrawCalendar(); // draw Ethiopian Calendar table`
`$EC->GCDrawCalendar(); // draw Gregorian Calendar table`
`?>`
# Required Files
Only two files are required to use the converter
> EthiopianCalendar.php &
> EthiopianCalendar.css
# Feedback
Tell us what features should be added in the future releases.