How can I obtain the date object from a timestamp in PHP? -



How can I obtain the date object from a timestamp in PHP? -

how can obtain date object timestamp in php ?

e.g. $timestamp = 1349938801;

the first thing comes mind createfromformat:

$datetime = datetime::createfromformat('u', '1349938801');

php date time

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -