Formats a date
<?php
date_format(string $value, [ string $format = '%b %e, %Y', [ mixed $default = null ]])
Example #1
{$.now}
{date_format $.now "%Y-%m-%d"}
{date_format $.now "%D"}
{date_format "1994-3-15 10:24:22"}
The above example will output:
1211992444
2008-05-28
05/28/08
Mar 15, 1994