The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Ok, here's my question...
PHP Code:
I have that code is a php file (doy) :nervous: My time comes out wrong. What I mean is this... I copy pasted this from one of my vb pages. The time now is 01:24 PM. When I posted on a chat box it said that it was 6:24 pm. Help me please. EDIT: Nevermind, I barely found the problem. -__-;;; I just thought of algebra and I added +5 to MY timezoneoffset. I erased the +5 and fixed it. Sorry about this. Shows how new I am to PHP. =/ |
#2
|
||||
|
||||
![]()
Instead of using the strtotime() function to convert one date string into a new date string, the more conventional method is simply using a timestamp for the first date.
That is why the vBulletin tables, and most DB tables, store timestamp values instead of date string values. They may not be easier to read from directly inside the DB, but they're easier to manipulate in PHP. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|