|
Posted by Pedro Graca on 01/13/06 18:17
lwoods wrote:
> I want to calculate and display the 'mm/dd/yyyy' that is 10 years earlier
> than today.
>
> How do I do that?
Lots of ways.
Here's one
echo date('m/d/Y', mktime(0, 0, 0, date('m'), date('d'), date('Y')-10));
--
Mail to my "From:" address is readable by all at http://www.dodgeit.com/
== ** ## !! ------------------------------------------------ !! ## ** ==
TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>)
may bypass my spam filter. If it does, I may reply from another address!
[Back to original message]
|