Author Topic: need help to show in date and time  (Read 2100 times)

mhonn

  • Newbie
  • *
  • Posts: 1
    • View Profile
need help to show in date and time
« on: September 04, 2015, 02:38:15 pm »
i have a problem when convert timestamp to readable date format.......
i used $grid formatter:date but the response is NAN/NAN/NAN

here my query:

$grid->setColProperty("tstart", array("label"=>"tstart","formatter"=>"date", "editrules"=>array("required"=>true)));
 
the response in tstart column is NaN/NaN/NaN

any idea to change timestamp format to readable date format in $grid
thanks alot