Log 1988

$currentDate = date(‘d/m/Y’); // Get current date in the format of day/month/year
$taskDate = #תאריך ביצוע המשימה#; // Replace with the actual task execution date

// Convert dates to timestamp
$currentTimestamp = strtotime($currentDate);
$taskTimestamp = strtotime($taskDate);

// Calculate the difference in seconds between the two dates
$differenceInSeconds = $taskTimestamp – $currentTimestamp;

// Calculate the number of days by dividing the difference by 86400 (seconds in a day)
$daysRemaining = ceil($differenceInSeconds / 86400);

return $daysRemaining;

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