In the first case, the offset exists, so it should be trivial, the second example, however, will be considered as UTC (or any other default time zone). Here is what I suggest:
date_default_timezone_set('UTC'); // set default timezone $one = strtotime('Mon, 28 Jun 2010 12:39:52 +1200'); $two = strtotime('2010-06-25 15:33:00'); // Already UTC? Must be...
$one and $two will hold timestamps corresponding to the time converted to the UTC time zone.
source share