The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
vbdate() returning wrong date
I wrote a simple PHP script to display upcoming events on the ForumHome page but when I try to format the date, it always shows Dec 31, 1969.
$up_eventdate = vbdate("M-d",$event[eventdate]); $event[eventdate] returns the appropriate value in the format 'Y-m-d'. I just want to change that to 'M-d' format. Is this not working because the array is returning a string value for the date? I thought vbdate() would convert a string to a date if it was a valid date format. Anyone have any ideas here? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|