Reformat a date in PHP

Posted by Kreker on Stack Overflow See other posts from Stack Overflow or by Kreker
Published on 2010-05-19T07:37:29Z Indexed on 2010/05/19 7:40 UTC
Read the original article Hit count: 155

Filed under:

I have a date/time string like this: 180510_112440 in this format ddmmyy_hhmmss I need a snippet for having a string formatted like this way: 2010-05-18 11:24:40 Thanks for help.

© Stack Overflow or respective owner

Related posts about php