Time fix for event creation page due to PHP < 5.3.0