print date in format d-m-Y as text

How to display a database date in d-m-Y format as text in a form.

Overview

The issue is needing to output a date from a database in a specific text format.
Use the provided date formatting syntax within the form to convert the database field into the desired text format.

Answered
ChronoForms v6
th thewelt 06 Jul, 2018
Hi,

At the top of a form I want to print "latest update" and then followed by a date (read from a DB) in the following format: d-m-Y.

Is that possible and if so, what do I have to do ?

Thanks in advance

Cheers,
Bart Weltens
Belgium
he healyhatman 07 Jul, 2018
Answer
{date:d-m-Y$(var:read_data1.model.date)}
This topic is locked and no more replies can be posted.