$date = date_create('2013-10-27');// This is the date that inputed in textbox and that format is (Y-m-d)
$date = date_create('2013-10-10');// and if i click the button i want to force change the 27 to 10?
我应该使用 date_modify 并做一些循环,还是有其他方法可以轻松地更改它而不是循环。