Hi have looked in the wiki about this issue and found other threads about this subject
i have try to code beblow in the a element were i what it to return resault but i only see the code value in the field
Can any one lead me on the right track
The code
$starttid=strtotime ('{time_use_3_repeat___starttid} ') ;
$sluttid=strtotime ('{time_use_3_repeat___sluttid} ') ;
$seconds = $sluttid - $startid;
$hours= floor ($seconds/3600);
$minutes = floor ($seconds % 3600/60);
$seconds = $seconds % 60 ;
return sprintf("%02d:%02d", $hours, $minutes);
p.s. have also try with _raw
i have try to code beblow in the a element were i what it to return resault but i only see the code value in the field
Can any one lead me on the right track
The code
$starttid=strtotime ('{time_use_3_repeat___starttid} ') ;
$sluttid=strtotime ('{time_use_3_repeat___sluttid} ') ;
$seconds = $sluttid - $startid;
$hours= floor ($seconds/3600);
$minutes = floor ($seconds % 3600/60);
$seconds = $seconds % 60 ;
return sprintf("%02d:%02d", $hours, $minutes);
p.s. have also try with _raw