<?php $start_date = '2015-01-15';$add_day = 30;echo date('Y-m-d', strtotime($start_date) + ($add_day*60*60));
Standard input is empty
2015-01-16
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!