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.
Doesn't seem to return anything.
Returns "Tuesday, December 1, 2015"
print strtotime('Tuesday, December 1, 2015');
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->field_date)); returns the value (unix timestamp) 1448956800.
print (strtotime((string)$row->field_date));to print a unix timestamp like 1448956800. That is what I desire.