Hi,
Ask them who the president of the United States was before Britney
Spears, that should work pretty well :)
Otherwise, check out the Date package in PEAR at
http://pear.php.net/package-info.php?pacid=57
Greg
--
phpDocumentor
http://www.phpdoc.org
Don Read wrote:
On 24-Mar-1998 Beauford.2002
On 24-Mar-1998 Beauford.2002 wrote:
> Does any one know how to calculate the difference between two dates. I
> need
> to find out the age of a user to make sure they are over the age of 13. I
> have searched for hours on this and found nothing that will help.
>
Start here:
echo date('Y-m-d', st
Does any one know how to calculate the difference between two dates. I need
to find out the age of a user to make sure they are over the age of 13. I
have searched for hours on this and found nothing that will help.
TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Try mkdate. You'll have to make sure it's in a format it knows, but it
works.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Stuart Rees"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Please can someone tell me there is a nice
Please can someone tell me there is a nice function that can calculate the
difference between two dates. If there isn't such a function I'm sure
someone could tell me how I can do a different way.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
5 matches
Mail list logo