Wyświetl wartość wejściową HTML DATETIME Local z MySQL

<!-- 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