date_format

Top  Previous  Next

Returns a string formatted according to the given format string. See PHP function date() for syntax. Use variable %TIMESTAMP to get a timestamp

Example:

Template:

       {#%TIMESTAMP|date_format:"m/d/y"#}

Output:

       12/15/2006