The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Which Time Function To Use?
I'm creating something where I can choose expiration date on threads. Basically the entire thing is working good, but my time function is off, or I'm doing something wrong.
The below is in my newpostcomplete hook. It puts in 1242169200 which translates to 23:00:00 GMT, but 07:00:00pm my time (eastern). What I want it to do is insert basically like 11:59:00pm into every single thread where I choose an expiry date. how do I tackle this? I'm horrible with time stuff! Quote:
|
#2
|
||||
|
||||
It is fetching the date and time from server. find out what time zone your server is and adjust the date accordingly.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|