I need a way to make the datetime format looks like this : " 2013-10-23T12:30 "
I did it this way but it's not working:
echo "<input name='showdatetime' type='datetime-local' id='showdatetime' value='" . date( "Y-m-dAh:i" , $show->datetime ) . "'><br/>";
Thank you
"; now if i put in the value field like this format "2013-10-23T12:30" it will be showed in input field correctly so my idea is to convert the datetime to smth like this for the correct datetime 2013-04-02T02:00 – ouzoumzak Apr 29 '13 at 20:54