Yes, you can! I would suggest reading the manual first.. but I mean there are so
many functions so I don't blame you.. anyhow this is how to do it..
$string = "July 2, 10:59PM";
echo strtotime("July 2, 10:59PM");
and forgot output.. this is what it'll output "1183417140"