![]() |
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/ |
All times are GMT. The time now is 02:29 PM. |
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:
|