The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
Try using:
vbdate($vbulletin->options['dateformat'], $thread['lastpost'], 1) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|