1
I’m trying to format a date on Smarty
that is in that format {$Grid.Row.DataEmissao.DisplayValue}
being displayed like this: 15-03-2018
, how can I format it for 15/03/2018
to display in my report, I even read some documents, but what I saw was this:
{$smarty.now|date_format} {$smarty.now|date_format:"%A, %B %e, %Y"} {$smarty.now|date_format:"%H:%M:%S"} {$yesterday|date_format} {$yesterday|date_format:"%A, %B %e, %Y"} {$yesterday|date_format:"%H:%M:%S"} MOSTRA: Feb 6, 2001 Tuesday, February 6, 2001 14:33:00 Feb 5, 2001 Monday, February 5, 2001 14:33:00
But in my case, it doesn’t solve.
Excellent, thanks for the @rray tip.
– adventistapr