PDA

View Full Version : userinfo['joindate'] question


mooseymoo
06-04-2008, 09:47 AM
If anyone can help me here it would be great, right.... there is a variable :

vbulletin->userinfo['joindate']
which returns a number string
which is the date, in a a coded format

Is there a hack or a way you can find a hack to decode the join date ?

I am doing a website which needs to show on all parts of the site the join date etc.

Many thanks in advance

Opserty
06-04-2008, 09:50 AM
Use the vBulletin vbdate (http://members.vbulletin.com/api/vBulletin/_includes---functions.php.html#functionvbdate)() or the PHP date (http://php.net/date)() function.

Boofo
06-04-2008, 10:00 AM
$user['datejoined'] = vbdate($vbulletin->options['dateformat'], $user['joindate'], true);
$user['timejoined'] = vbdate($vbulletin->options['timeformat'], $user['joindate']);