Change date with datetime

now the date format is Y-m-d H:i:s