php compatibilty issue

The anonymous object creation syntax can only be used on PHP 5.4 or higher.
Since the version constraint in composer is >=5.3.2 this will not work under PHP 5.3 versions.

It's just a simple fix with date/strtotime functions.