<!-- CONVERT MYSQL DATE TIME TO DISPLAY HTML INPUT[datetime-local] VALUE --> <input type='datetime-local' name='datetime' value='<?php echo date("Y-m-dTH:i", strtotime($details['datetime'])); ?>'>
<input type="datetime"></input>