I have an XML file with a "Time" attribute. I am calling this XML into my PHP and giving it the variable $game_time.
An example value for the attribute is "10:30 PM"...
Since it is coming from XML, it is reading "10:30 PM" as a string.
Now my question, how can I convert this string to an actual timestamp?
I think I need to use strtotime somehow, but can't get the syntax right...
I am wanting this XML time to be converted to a timestamp because I am eventually going to compare this time with the server's time and shoot out a conditional output...
Thanks, John