Log 2028
04/09/2023 2023-09-04 9:55$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);