Posted By

iloveitaly on 06/13/09


Tagged

php unix DateTime timestamp


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

STaRDoGG


PHP DateTime Unix Timestamp


 / Published in: PHP
 

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

Construct DateTime object with unix timestamp

  1. $stamp = "1244911709";
  2. new DateTime("@{$stamp}");

Report this snippet  

You need to login to post a comment.