![]() |
Today's Date: Anywhere you want!
Plugin today's date anywhere in the system. Just place the following JAVASCRIPT in the HTML Code.
HTML Code:
<script language="JavaScript"> Note: Java taken from freeservers site. I take NO Credit once so ever, it's just instructions. |
Thanks, works just fine! :)
|
Screen please :)
|
Wouldn't a plugin using php's
Code:
date(); then set that to a variable and insert it wherever you want. EDIT: this is for jilly - as requested in PM: (don't mean to be rude and steal your thread, so please let me know if you want me to move this post.) Install this plugin and insert Code:
$today You can change the display of the date and time by editing the plugin: Code:
$today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm |
Hello,
Just to make sure no one gets in trouble, did you get this script from Dynamic Drive? If you did, and you removed their copyright, people can get in trouble for using it with the copyright stripped. |
Quote:
|
Quote:
Ideas? |
The date and time are already available anywhere in vb as $datenow and $timenow (formatted as per your vb options). The year is also available as $copyrightyear.
|
Quote:
|
Quote:
Hi, I tried putting {vb:raw datenow} in my vb4.14 template but nothing is showing up. thanks |
All times are GMT. The time now is 08:30 PM. |
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:
|