Log 2359
18/12/2023 2023-12-18 21:42$callDate = #תאריך שיחה#;
$returnCallDate = #תאריך שיחה חוזרת#;
// Convert the call dates to timestamps
$callTimestamp = strtotime($callDate);
$returnCallTimestamp = strtotime($returnCallDate);
// Get the time from the call date (hours, minutes, seconds)
$callTimeHours = date(‘H’, $callTimestamp);
$callTimeMinutes = date(‘i’, $callTimestamp);
$callTimeSeconds = date(‘s’, $callTimestamp);
// Add the time from call date to return call date
$returnCallDateTime = mktime(date(‘H’, $returnCallTimestamp) + $callTimeHours,
date(‘i’, $returnCallTimestamp) + $callTimeMinutes,
date(‘s’, $returnCallTimestamp) + $callTimeSeconds,
date(‘m’, $returnCallTimestamp),
date(‘d’,