The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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) |
![]() |
|
|