Views PHP : couldn't print dates I'm using views php to printing, and calculate some dates in my view.but when I try to print a date (06/01/2015) in the global php field it printed like: 16831 which is the node id
Value code:


  $load=$row->field_date_loading;
  return $load;


Out put code:


  echo $value;
use 

$load = $data-&gt;field_field_date_loading[0]['raw']['value'];
echo $load;


if you are using an end date as well you can get it with:

$data-&gt;field_field_date_loading[1]['raw']['value'];