![]() |
Convert timestamp to readeable format?
Hi,
I'm trying to get the last reply date of a thread for displaying it on the SHOWTHREAD template. I have found that $thread[lastpost] display the last reply on a timestamp, ex: 1444930933 I tried to convert it using vbdate on a plugin: Code:
$lastreplydate=vbdate('m-d-Y',$thread[lastpost]); Thanks |
Try using:
vbdate($vbulletin->options['dateformat'], $thread['lastpost'], 1) |
All times are GMT. The time now is 09:14 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:
|