Current timestamp: 1503079260

Countdown to: 1503100000

Convert timestamp

Convert date

PHP Quick Examples

Following page provides examples for PHP how to convert date, time, and timestamp among each other. There are also some links to additional documentation, so you can learn more about the topic.

How To Get Current Timestamp in PHP


How To Convert Timestamp to Date in PHP

date("Y-m-d H:i:s", 1503079260);

How To Convert Date to Timestamp in PHP

strtotime("2017-08-18 20::01:00");

Great example for PHP!!!
This website uses cookies to ensure you get the best experience on our website. More info