Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Raulino Neto raulinoneto

🎯
Focusing
View GitHub Profile
View between_dates.php
<?php
/**
* @var $initial int
* @var $end int
* @var $startEvent int
* @var $endEvent int
*/
function eventIsBetween($inital, $end, $startEvent, $endEvent):bool{
if ($startEvent > $end || $endEvent < $initial){
return false
You can’t perform that action at this time.