[nycphp-talk] How do I create a future date for a cookie?
Daniel J Cain Jr.
dan at cain.sh
Fri Sep 5 14:12:10 EDT 2003
A good function to use to obtain a future date is strtotime('+1 week 2
days 4 hours 2 seconds'). I have found it to be very useful and
extremely easy to use.
On Thu, 2003-09-04 at 13:22, Phil Powell wrote:
> I'm using setcookie() that I want to set "permanently" (set it to like
> 100 years from now), but looking up both date() and mktime() honestly
> made no sense to me as to how to do it.
>
> So, um, how do I do it?
>
> Thanx
> Phil
>
> ______________________________________________________________________
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
More information about the talk
mailing list