three days ago =

$threedays = time() - (3 * 24 * 60 * 60);

@date = localtime($threedays);


On Wed, 9 Jan 2002, Jeff 'japhy' Pinyan wrote:

> On Jan 9, Scott Taylor said:
>
> >Can anyone tell me how I can set a variable to a date, then subtract x
> >number of days from it and output the new date?  I can't seem to find it
> >anywhere.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to