change date format to yyyy-MM-dd HH:mm:ss