Valeur d'entrée HTML DateTime-local

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