time() question ...
Posted: Thu Feb 24, 2005 9:58 pm
i was wonderring if anyone had a little tidbit of code that uses the time() function to generate the unix timestamp (seconds from the unix epoch) that is the very beginning of the next day (12:00 midnight).
i want make a cookie expire exactly at midnight the day it is set, no matter when it is set. the best i can seem to do is get it to last for 24 hours.
thanx for any code posted ...
i want make a cookie expire exactly at midnight the day it is set, no matter when it is set. the best i can seem to do is get it to last for 24 hours.
thanx for any code posted ...