Some calendar functions are not available in PHP 5.2

* DateTime::createFromFormat is not available, now using "new
DateTime(...)" instead.
* DateTime->add and DateTime->sub are not available, now using
DateTime->modify instead.