The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Convert Data Field to Real Date
Currently I have date fields in my database that just read: 1216276261
I have an external script that pulls information form the vBulletin Databases so using the vB Datamangers is not an option. Can anyone point me in the right direction on how to convert that into a real date? Thanks. |
#2
|
|||
|
|||
<a href="http://php.net/date" target="_blank">http://php.net/date</a>
|
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
What is your current code?
PHP Code:
|
#5
|
|||
|
|||
Quote:
Thanks. |
#6
|
||||
|
||||
In vBulletin, you should use vbdate() instead of date(). See the API Documentation.
|
#7
|
|||
|
|||
Quote:
(Damn vBulletin character count...). |
#8
|
||||
|
||||
I was just meaning to say if.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|