![]() |
|
Thread Tools |
#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:
But doesn't seem to work it doesn't retrieve anything, which could be the problem? Thanks No members have liked this post.
|
#2
|
||||
|
||||
Try using:
vbdate($vbulletin->options['dateformat'], $thread['lastpost'], 1) No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 05:12.