Hello list,
Just a quickie. Does anyone have a code snippet for calculating the day of
the week given a date? I was hoping I could feed a string like "20010116" to
a function and have it return "Tuesday" - it doesn't have to be exactly this
date format that is used for the input, but I do need the name of the day on
the output!
I'm hunting around at the moment but I haven't had any joy so far, I thought
I'd see if anyone's already invented this wheel...
Cheers
Jon
Please visit us on the Internet:
http://www.witanjardine.co.uk
'The information included in this e-mail is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee, any
disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege of
confidentiality'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]