Php-style formatter for node dates