The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
|||
|
|||
![]()
Thanks Gary -
I ended up doing it like this: PHP Code:
cheers Dave |
#4
|
||||
|
||||
![]()
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:
|
#5
|
|||
|
|||
![]() Quote:
2003-07-23 Rather than Friday 23rd June Dave |
#6
|
||||
|
||||
![]()
<a href="http://us4.php.net/manual/en/function.date.php" target="_blank">http://us4.php.net/manual/en/function.date.php</a>
|
#9
|
||||
|
||||
![]()
Glad I could help
![]() |
#10
|
|||
|
|||
![]()
Gary - any idea why the code would give the icorrect day for dates in 2004?
http://www.cpfc.org/fixtures/ |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|