Skip to content
WJunction - Webmaster Forum

How To: Display Time & Date on Site/Forum

Status
Not open for further replies.
Sup Guys,

basically on chat someone was asking how to add an time field into
their vBulletin Forum well i have the answer but i dont know where
to put these to small pieces of code.

Basically first of all you need the Function:

Code:
$TtimeT = date("n-j-Y [D] [h:i:s] a");
You have to add that to the functions file on your vBulletin
forum wherever that may be, once you have added that you
can add:

Code:
<td>$TtimeT</td>
or
Code:
  print "<b>$TtimeT</b>";
}
to where ever you want it to show and it should look like:

12825628751.jpg


Time can be done a load of different way but this is how i
do it and i find this easy to do and quick.

This little piece of code is meant for PHP scripts or pages
created in php.

Regards,
iHate u.
 

1 comment

Status
Not open for further replies.

About the author

I
Active Member · Joined
1,664
Messages
306
Reactions
83
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom