We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

form render

Hi all {{form.render('NgaySinh')}}

<input type="text" id="NgaySinh" name="NgaySinh" value="2013-11-01" data-date-format="dd/mm/yyyy" class="datepicker" placeholder="vd.19/08/1990">

{{form.getValue(NgaySinh)}} //2013-11-01 i want value=01/11/2013



8.1k

You want that value just in your display/view right? Then just create a Volt filter for it, using PHP's Date/Time functions.