strtotime() doesn't work with dd/mm/YYYY format!
        Posted  
        
            by Syom
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Syom
        
        
        
        Published on 2010-05-23T13:41:54Z
        Indexed on 
            2010/05/23
            13:50 UTC
        
        
        Read the original article
        Hit count: 282
        
php
I really like the strtotime() function, but the user manual doesn't give a complete description of the supported date formats. strtotime('dd/mm/YYYY') doesn't work, it works only with mm/dd/YYYY format.
if i have date in dd/mm/YYYY format, ho can i convert it to YYYY-mm-dd?
i can do it by using explode() function, but i think tere are better solution.
Thanks
© Stack Overflow or respective owner