I have a little logic problem. I have this:
$y=2014;
$m=05;
$d=22;
$d2=$d+1;
$sunset=17:52;
$sunrise=05:44;
I have some events that occurs during the days 22 and 23, but I want select only the ones that happen between $sunset and $sunrise.
Ho can I say something like this:
if($event [$sunset<BETWEEN>$sunrise]){
//show something;
}
? Thanks in advance.