strtotime() doesn't return unix timestamp in custom view when $row->field_date is an English date I'm confused. I'm using a Global: PHP field inside a view to tweak the output of the row based on the date value of a certain field. 

print (strtotime((string)$row-&gt;field_date));


Doesn't seem to return anything.

print $row-&gt;field_date;


Returns "Tuesday, December 1, 2015"

print strtotime('Tuesday, December 1, 2015');


Returns 1448956800

I've tried converting the $row object to an array just for fun with get_object_vars($row) but that didn't work either. 

In my case I expect that print (strtotime((string)$row-&gt;field_date)); returns the value (unix timestamp) 1448956800.
$row-&gt;field_date contains markup, not just the date/string value hence strtotime() won't/can't return a valid unix timestamp. To fix, try using strip_tags() around the returned value of $row-&gt;field_date like: 

strtotime(strip_tags((string)$row-&gt;field_date));


or use "Strip HTML tags" option checkbox under "Rewrite Results" in the "Configure field" dialog.