![]() |
date blues
I have a script that pulls the latest eventd from my VB, the problem is that the date gets pulled in American rather than European format:
PHP Code:
dd-mm-yy TIA |
PHP Code:
|
Thanks Gary -
I ended up doing it like this: PHP Code:
cheers Dave |
Here you go :)
I changed include() to require(), you should use require instead of include, because the script becomes useless if it can't include the global.php Only use include() if the script can still execute without including the file. PHP Code:
|
Quote:
2003-07-23 Rather than Friday 23rd June Dave |
<a href="http://us4.php.net/manual/en/function.date.php" target="_blank">http://us4.php.net/manual/en/function.date.php</a>
|
Quote:
|
Quote:
Dave |
Glad I could help :)
|
Gary - any idea why the code would give the icorrect day for dates in 2004?
http://www.cpfc.org/fixtures/ |
Looks fine to me.
Could you point out which one is incorrect? |
Quote:
Friday 9th May Coventry (A) Should say Sunday, I think all the days are wrong in 2004 |
did you manage to have a look at this Gary ?
|
Sorry, didn't know there was a new reply :o
Here's the answer :) PHP Code:
|
Quote:
excellent - thanks a million Gary |
Yep glad I could help :)
|
All times are GMT. The time now is 02:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|