PDA

View Full Version : How to retrive vbulletin date & time?



love_bug
05-12-2007, 10:52 AM
hi, new to this forum, just playing around with my code... and wanna ask how to retrive vbulletin date & time, just as we retrive user id in php codes:


$vbulletin->userinfo['userid']

thank you

WhaLberg
05-12-2007, 11:25 AM
If you want to learn when a post has been made, when a thread has been posted or when a user has registered, you have to use database functions in php. Except that, you can find here (http://tr2.php.net/date) a date function manual of php.

love_bug
05-12-2007, 11:35 AM
Hi that's right, i want to retrieve last post date & time, according to user's GMT ... i'd be greatful if you could show me how.