![]() |
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. |
<a href="http://php.net/date" target="_blank">http://php.net/date</a>
|
Quote:
|
What is your current code?
PHP Code:
|
Quote:
Thanks. |
In vBulletin, you should use vbdate() instead of date(). See the API Documentation.
|
Quote:
(Damn vBulletin character count...). |
I was just meaning to say if. :p
|
All times are GMT. The time now is 05:01 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:
|