Posted by Laris
2016-08-09

Hi,
How to change the date format.
In fact, i wish to change "2010-11-02" to "02/11/2010"
Posted by Tom
2016-08-09

Hi,

>i wish to change "2010-11-02" to "02/11/2010"

Suppose you have the "birthday" field in the template, web/staff/tpl.(table-name).search.inc.php like shown below:
<?php echo $hm->Zb('rs:def:birthday'); ?>
You can convert the date format to "m/d/Y" like this:
<?php echo date("m/d/Y",strtotime($hm->Zb('rs:def:birthday'))); ?>