<?php $obj = DateTime::createFromFormat('d F Y', '26 July 2014');$obj->modify('-1 day');echo $obj->format('d F Y');
Standard input is empty
25 July 2014
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!