Tag : PHP Date & Time Functions

PHP Web Development

How to get yesterday and tomorrow date in php

Anuj Kumar
Syntax for getting yesterday using php <?php echo "Yesterday Date : "; echo date("Y-m-d",strtotime("yesterday")); ?> Syntax for getting tomorrow using php <?php echo "Tomorrow date