Page 1 of 1
TimeStamp for dd/mm/yyyy
Posted: Tue Sep 02, 2014 10:48 pm
by caetanovsk
Please, I am newbie in PHP. Need to convert TimeStamp field to dd/mm/yyyy. How to do this in PHPMaker 11 the Date field? I need guidance if step-by-step if possible.
The original field is as BIGINT
Thank you
Re: TimeStamp for dd/mm/yyyy
Posted: Wed Sep 03, 2014 7:07 am
by scs
$date = date("d/m/Y", $your_field_name);
(Row_Renderd server event)
$this-><your_field_name>->ViewValue = $date;
$this-><your_field_name>->EditValue = $date;
How you gonna display it, depend on your program.