PHP timestamp minus 24 hours
I have a bunch of timestamps stored in a table for a bunch of events - past, present and future.
I need to determine if timestamp for event is within 24 hours previous to now (and future).
So how do I make a timestamp for 24 hours ago?
Then I should be able to use
> || == on the timestamps.
Never mind..subtracting 86400 (seconds in a day) from the timestamp does it ... I think I need a break as that wasn't really difficult