Log 2095

$arrival_date = #תאריך הגעה לחו”ל#;
$departure_date = #תאריך עזיבה#;

// Convert dates to timestamps
$arrival_timestamp = strtotime($arrival_date);
$departure_timestamp = strtotime($departure_date);

// Calculate the difference in seconds between the two timestamps
$difference_seconds = $departure_timestamp – $arrival_timestamp;

// Convert seconds to days
$total_days = floor($difference_seconds / (60 * 60 * 24));

return $total_days;

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