On 10/11/05, Ian Bambury <[EMAIL PROTECTED]> wrote:
> What version of PHP are you using that
>
> echo date("l","2005-08-13");
> doesn't give you "Thursday"?
Yes, but ALL dates gave me thursday (or Wednesday) - using the above
scenario on my database...
Ive read the other replies to this thread -
- My database isnt MYSQL...
But the 'date' function directly - Doesnt work .. However, Ive figured
this out - which does work.
============
$explo=explode("-",$key);
echo "'$explo[0],$explo[1],$explo[2],$explo[3], $explo[4]' - \n";
$timegiven = mktime (0,0,0,$explo[1],$explo[2],$explo[0]);
$p=date("D",$timegiven);
============
I'll change the 'D' to something else - But at least it works... - Im
off to bed - will work on the rest this week....
Thanks...
Ps - Its a flat-based text-file / database - Not MYSQL...
However, im sure I can re-design the scripts to go into MYSQL...
--
G Stewart
http://e-services.kwister.com/
NZ community groups - [EMAIL PROTECTED]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~->
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/