Nifty day and date line

<!--#config timefmt="%A, %B %d, %Y"--><!--#echo var="DATE_LOCAL"-->

 

 

Options for the timefmt string

%y - last two digits of the year

%Z - the time zone (of your host)

%H - hour of the day (24 hr)

%I - hour of the day (12 hr)

%p - AM or PM

%M - minutes

%S - seconds

 

 

Step 1.

Make sure that your host allows you to use server side includes. Most will, some won't and some need to be asked to set it up for you.

Step 2.

Copy and paste the code opposite into your web page's html at the place you want it to be. See the options for other choices.

If you are using a special program to make your web pages, you might have to place the cursor at the point in your design where you want the clock to go and then use the insert html feature to paste in the lines of code.

Step 3.

Alter your web page extension to SHTML. This tells the host that you have SSI code in your pages.

Step 4.

Make sure that you alter the name of the page in all links to that page to include the new extension.

Note: This gives the date on your host not the date of where the person browsing your site happens to be.

All rights to text and designs©1999-2001
ANK

Get more Theory of Eight features. Just fill out your email address to subscribe to our newsletter!

SubscribeUnsubscribe
Powered by YourMailinglistProvider.com


 

Click here to return to home page