I am trying to convert a date/time string in this format
YYYY/MM/DD/HH:MM:SS
to a format that is recognized in PHP
I am trying to convert a date/time string in this format
YYYY/MM/DD/HH:MM:SS
to a format that is recognized in PHP
if it's exactly that, just do strtotime(substr($mydate,0,10)." ".substr($mydate,-8))
which converts it to "YYYY/MM/DD HH:MM:SS"
, which PHP does parse correctly.
It's the middle slash which is probably the issue, in other words.