Shortest way to replace date in 'yyyy-mm-dd hh:ii:ss' format with 'yyyy-mm-05 hh:ii:ss'?

date, php, time

Solution

$date = '2012-06-08 11:15:00';
echo date('Y-m-05 H:i:s', strtotime($date)); // 2012-06-05 23:15:00

Problem

What is the shortest way to replace date in `'yyyy-mm-dd hh:ii:ss'` format with `'yyyy-mm-05 hh:ii:ss'`? I need to change the date days, not to subtract several days from the date. Thank you.

Original source