php get current date strtotime

Solutions on MaxInterview for php get current date strtotime by the best coders in the world

showing results for - "php get current date strtotime"
Lisa
20 Mar 2017
1<?php
2echo(strtotime("now") . "<br>");
3echo(strtotime("3 October 2005") . "<br>");
4echo(strtotime("+5 hours") . "<br>");
5echo(strtotime("+1 week") . "<br>");
6echo(strtotime("+1 week 3 days 7 hours 5 seconds") . "<br>");
7echo(strtotime("next Monday") . "<br>");
8echo(strtotime("last Sunday"));
9?>