home-icon
Datepicker
Last updated: Dec 04, 2023

The datepicker element is a nice way to let the user input a date.

When the element is present in a section, the user will have a nicely formatted datepicker to select a date. This date will be saved in the format dd-mm-yyyy. For example: 31-12-2030.

In the view file, this element is accessible by its name, for example $published_date.

<h3>Published at <?=$published_date;?></h3>

Becomes:

<h3>Published at 21-08-2023</h3>