Java like Date class for PHP5