Log 2028

$currentDateTime = date(“d/m/Y H:i:s”);
$startDateTime = #התחלה#;

$currentTimestamp = strtotime($currentDateTime);
$startTimestamp = strtotime($startDateTime);

$differenceInSeconds = $currentTimestamp – $startTimestamp;
$differenceInMinutes = floor($differenceInSeconds / 60);
$differenceInHours = floor($differenceInMinutes / 60);
$differenceInDays = floor($differenceInHours / 24);

return “The difference between the current date and time and #התחלה# is:”;
return “n”;
return “Days: ” . $differenceInDays . “, Hours: ” . ($differenceInHours % 24) . “, Minutes: ” . ($differenceInMinutes % 60) . “, Seconds: ” . ($differenceInSeconds % 60);

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