PHP DateTime Unix Timestamp


/ Published in: PHP
Save to your folder(s)

Construct DateTime object with unix timestamp


Copy this code and paste it in your HTML
  1. $stamp = "1244911709";
  2. new DateTime("@{$stamp}");

URL: http://php.oregonstate.edu/manual/en/function.date-create.php#76216

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.