php - Format the date string "2013-08-26T12:00:00.000" -


the date represented string "2013-08-26t12:00:00.000". how format date string in following way?: "2013-08-26 12:00:00"

date("y-m-d h:i:s", strtotime("2013-08-26t12:00:00.000")); 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -