PHP create date object from yyyy-mm-ddThh:mm:ss string

Posted by Linda on Stack Overflow See other posts from Stack Overflow or by Linda
Published on 2010-06-03T12:22:14Z Indexed on 2010/06/03 12:24 UTC
Read the original article Hit count: 297

Filed under:
|
|

I have a string in the format yyyy-mm-ddThh:mm:ss and I want to convert it to a date object. How would I do this?

© Stack Overflow or respective owner

Related posts about php

Related posts about datetime