View Full Version : How to get local date
shlomot
06-15-2008, 01:00 PM
Hello. I need to retrieve current user's local date for a PHP module that needs to reference this value. How do I do that?
Opserty
06-15-2008, 02:23 PM
There is a timezoneoffset field in user table. You should be able to access it through the $vbulletin->userinfo array.
shlomot
06-15-2008, 03:33 PM
Thank you so much for this great tip.
There is a timezoneoffset field in user table. You should be able to access it through the $vbulletin->userinfo array.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.