The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Converting timestamp
This is actually something for PhotoPost Classfieds.
I think I have a better chance here getting a hand here. I added this to a rss script enddate is the ending timestamp of the ad PHP Code:
PHP Code:
I have used $newenddate = formatppdate($enddate) in another place but don't know how to reformat enddate here. |
#2
|
|||
|
|||
For vBulletin, converting TIMESTAMPS to readable strings is done with the vbdate() function. Documentation can be found in both the API at
members.vbulletin.com/api/ or in functions.php. |
#3
|
||||
|
||||
Thanks but I was hoping for a php function, not something unique to vB or PhotoPost classifieds.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|