![]() |
Displaying the Date
Hi,
How can I query the date when a thread was posted? I'm guessing it's stored in the dateline column but have no idea how to format it. |
Here are the two lines you can use to get the date and the time from $threads['dateline'].
PHP Code:
|
Thanks Lynne.
However I'm trying to get the date but not on a VBulletin page, so do I need to include some files? |
I'm using that on a non-vB page and I included the global.php at the top:
PHP Code:
|
Thanks Lynne worked great.
|
All times are GMT. The time now is 09:05 AM. |
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:
|