Refactored to use GP_Plugin as the base PHP class.
Fixed an issue where using dates before January 1, 1970 in calculations wouldn't work as expected due to it being the Unix Epoch.
Fixed regression where some date formats would not work correctly.