Php Get Current Date Strtotime

[Solved] Php Get Current Date Strtotime | Php - Code Explorer | yomemimo.com
Question : php get current date strtotime

Answered by : determined-deer-vymslvzrnc6s

<?php
echo(strtotime("now") . "<br>");
echo(strtotime("3 October 2005") . "<br>");
echo(strtotime("+5 hours") . "<br>");
echo(strtotime("+1 week") . "<br>");
echo(strtotime("+1 week 3 days 7 hours 5 seconds") . "<br>");
echo(strtotime("next Monday") . "<br>");
echo(strtotime("last Sunday"));
?>

Source : | Last Update : Tue, 17 Aug 21

Answers related to php get current date strtotime

Code Explorer Popular Question For Php