The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
i am not sure which is best to use when creating a UNIX timestamp for vBulletin.
|
#2
|
||||
|
||||
![]()
mktime() expects the time being local time, gmmktime() expects it to be UTC - that's the whole difference.
|
#3
|
||||
|
||||
![]()
Doesn't vB normally use vbmktime() ?
|
#4
|
||||
|
||||
![]()
i didnt know there was one, can someone clarify this?
edit: looking at calendar.php in 3.0.7, vbulletin uses gmmktime() to form its unix timestamps. |
#5
|
||||
|
||||
![]()
Use gmmktime when you want to give your users the right time based on what timezone they are in as opposed to the servers time
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|