Log 2285

$startTime = #תאריך ושעת הפניה#;
$endTime = #זמן הטיפול בפניה#;

// Convert start time and end time to timestamps
$startTimestamp = strtotime($startTime);
$endTimestamp = strtotime($endTime);

// Calculate the difference in seconds
$differenceInSeconds = $endTimestamp – $startTimestamp;

// Convert the difference to HH:MM:SS format
$hours = floor($differenceInSeconds / 3600);
$minutes = floor(($differenceInSeconds % 3600) / 60);
$seconds = $differenceInSeconds % 60;

// Format the result as HH:MM:SS
$result = sprintf(“%02d:%02d:%02d”, $hours, $minutes, $seconds);

return $result;

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare