php - Change the integer time to date format in Grocery CRUD -


the view customer action in example given link shows details regarding customer.now among details have field time shows in int format.

i need change int(1443198514) proper php date format(25 sep 2015 21:58:34).

how that. relevant appreciated.

unix timestamp date time

$timestamp=1333699439; $today = date("f j, y, g:i a",$timestamp);                 // march 10, 2001, 5:16 pm $today = date("m.d.y",$timestamp);                         // 03.10.01 $today = date("j, n, y",$timestamp);                       // 10, 3, 2001 $today = date("ymd",$timestamp);                           // 20010310 $today = date('h-i-s, j-m-y, w day',$timestamp);     // 05-16-18, 10-03-01, 1631 1618 6 satpm01 $today = date("y-m-d\th:i:s\z", $timestamp); 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -