Выяснение, какой отправитель отправил сообщение, в ZMQ4

function howManyDays($startDate,$endDate) {

    $date1  = strtotime($startDate." 0:00:00");
    $date2  = strtotime($endDate." 23:59:59");
    $res    =  (int)(($date2-$date1)/86400);        

return $res;
} 
0
задан horse hair 16 January 2019 в 19:31
поделиться