I have a string:
Mon Jul 07 2014 13:47:03 GMT+0800 (Malay Peninsula Standard Time)
I want to convert to unix timestamp in PHP.
However using strtotime() does not work for me. Is there any other work around so I can get the unix timestamp from this string?
Mon Jul .... Standard Time)? strtotime() is good, but you can't just throw anything you want it. you should strip off the "(Malay Penninsula Standard Time)" at least.