I want to calculate the time in a calc element between A and B using:
A = {pgs8r_liondata___fire_detection} (date element)
B = {pgs8r_liondata___fire_reportignition} (date element)
From what I could find on the forums I tried:
$date = strtotime ('{pgs8r_liondata___fire_detection}');
$date1 = strtotime ('{pgs8r_liondata___fire_ignition}');
$diff = $date - $date1;
return $diff;
Will appreciate some guidance to achieve this.
A = {pgs8r_liondata___fire_detection} (date element)
B = {pgs8r_liondata___fire_reportignition} (date element)
From what I could find on the forums I tried:
$date = strtotime ('{pgs8r_liondata___fire_detection}');
$date1 = strtotime ('{pgs8r_liondata___fire_ignition}');
$diff = $date - $date1;
return $diff;
Will appreciate some guidance to achieve this.