![]() |
Timestamp to date with userdefined timezone?
I have several custom pages in vBulletin currently presenting dates from timestamps by using the date() function in PHP. But this is very inconvenient for some of my users as I'm currently only displaying the dates and times according to my own timezone.
I tried to come up with a solution but it proved to be rather flawed.. Here's what I did: PHP Code:
Is there an easier way to do this? Or at least to find out the DST settings? |
If you are including global.php in your custom pages, then you can use the vbdate
function. |
Awesome, thanks :D
|
All times are GMT. The time now is 07:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|