Log 4370

$startDate = ’01/01/2025′;
$endDate = ’22/03/2025′;

$startMonth = explode(‘/’, $startDate)[1];
$startYear = explode(‘/’, $startDate)[2];

$endMonth = explode(‘/’, $endDate)[1];
$endYear = explode(‘/’, $endDate)[2];

$currentMonth = intval($startMonth);
$currentYear = intval($startYear);

while ($currentYear < intval($endYear) || ($currentYear == intval($endYear) && $currentMonth <= intval($endMonth))) {
return str_pad($currentMonth, 2, "0", STR_PAD_LEFT) . '/' . $currentYear . PHP_EOL;

if ($currentMonth == 12) {
$currentMonth = 1;
$currentYear++;
} else {
$currentMonth++;
}
}

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