Apply offsets as appropriate for your timezone. Figuring out whether a given epoch time is between $startofday and $endofday is trivial.my $timestamp = 1056360394; my $startofday = $timestamp - ($timestamp % 86400); my $endofday = $startofday + 86400;
In reply to Re: time() searching
by DrHyde
in thread time() searching
by powerhouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |