Log 1791

$date = date(‘d/m/Y’);
$monthYear = ”;

if ($date == #תאריך-נוכחי#) {
$date = ’25/06/2023′;
}

$dateParts = explode(‘/’, $date);
$day = $dateParts[0];
$month = $dateParts[1];
$year = $dateParts[2];

switch ($month) {
case ’01’:
$monthName = ‘ינואר’;
break;
case ’02’:
$monthName = ‘פברואר’;
break;
case ’03’:
$monthName = ‘מרץ’;
break;
case ’04’:
$monthName = ‘אפריל’;
break;
case ’05’:
$monthName = ‘מאי’;
break;
case ’06’:
$monthName = ‘יוני’;
break;
case ’07’:
$monthName =’יולי’ ;
break;
case 08:
$ month name =”August”;
brake ;
case 09 :
month name =”September” ;
brake ;
case 10 :
month name =”October”;
brake ;
Case 11:
Month Name =”November” ;
brake ;
Case 12:
Month Name =”December”;
Brake ;

}
if ($year == #חודשי_ושנה#) {
if (!empty($monthYear)) {
return “$day/$mont h Year “;
} else {
return ”;
}
} else {

return “$mont h Year”;
}

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