getTimestamp

suggest change

getTimeStemp is a unix representation of a datetime object.

$date = new DateTime();
echo $date->getTimestamp();

this will out put an integer indication the seconds that have elapsed since 00:00:00 UTC, Thursday, 1 January 1970.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents