Format date in template HTML

How can I format the $Transaction->Created date in the format dd/mm/yyyy in an HTML template in Request Tracker?

In a Perl template you can try a Perl block something like this at the start of the template:

my $createdDate = $Transaction->Created();
my ($date,$time) = split(/\s/, $createdDate);
my ($year, $month, $day) = split(/\-/, $date);
my $newDate = "$day/$month/$year";

and then use <% $newDate %> in your template text substitution.

If you’re using Simple (non-Perl) templates you’re stuck with the fixed list of variables that you can output, as they don’t allow method calls or Perl scripting.