
                       Date & Time applet

Add today's "date and time" to your webpages with this applet. You can display the date & time on your website down to the second. The background and foreground colors can be changed to match your webpage. No knowledge of programming required. 

Does this applet expire after 30 days? No, there is no expiration date. You may use it "forever" and on as many webpages as you wish!


The zipped file (datetime.zip) contains 3 files.

1. datetime.class - the java applet
2. readme.txt     - Instructions and information about the applet
3. datetime.htm   - Quick test page to see applet working

======================================================================

If you want to test your new applet before putting it on your webpage: 

Use "explorer" or "my computer" to double click the file datetime.htm.
You will see your new Date & Time applet in action.

=======================================================================

This following details how to get your applet working on your website.

(1) Upload "datetime.class" to your webserver
    Place datetime.class in same directory as your webpage.
    Check to make sure the file name was not changed.

(2) Copy and paste the following HTML code to your webpage:
    (Highlight code then Right click mouse and select copy)

Code is between the lines.
=================================================

<p align="center">
<applet code="datetime.class" align="baseline" width="326" height="40">
<param name="bgcolor" value="ffff00">
<param name="fgcolor" value="000099">
</applet></p>

================================================
End of code
You are ready to go!

Question - How do I change the background and foreground colors of the date & time applet?

To change the background color (bgcolor), change the hexadecimal number in this line of code: <param name=bgcolor value="0000ff">

To change the foreground color (fgcolor) change the hexadecimal number in this line of code: <param name=fgcolor value="ffffff">

For example to get a blue background with white text: 

<applet code="datea1.class" align="baseline" width=326 height=40>
<param name=bgcolor value="0000ff">
<param name=fgcolor value="ffffff">
</applet> 


For those who don't convert to hexadecimal easily, here are some common values: 

black = 000000
blue = 0000ff
cyan = 00ffff 
darkGray = 404040 
gray = 808080 
green = 00ff00 
lightGray = c0c0c0 
magenta = ff00ff 
orange = ffc800 
pink = ffafaf 
red = ff0000 
white = ffffff 
yellow = ffff00 

author  -  Douglas F. Allen
website -  http://www.date-time.com
email   -  comments@date-time.com 

Copyright 1999 Douglas F. Allen All Rights Reserved

                       And now the "LEGAL STUFF"

Use of datetime.class (hereinafter "SOFTWARE") is contingent on your agreement to the following terms:

1. GRANT OF LICENSE
Date-Time.Com grants you a limited, non-exclusive license to use the SOFTWARE free of charge. 

2. DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND. TO THE MAXIMUM
EXTENT PERMITTED BY APPLICABLE LAW, DATE-TIME.COM FURTHER DISCLAIMS ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. THE ENTIRE RISK ARISING OUT OF THE USE OR PERFORMANCE OF THE PRODUCT AND DOCUMENTATION REMAINS WITH RECIPIENT. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL DATE-TIME.COM BE LIABLE FOR ANY CONSEQUENTIAL, INCIDENTAL, DIRECT, INDIRECT, SPECIAL, PUNITIVE, OR OTHER DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING OUT OF THIS AGREEMENT OR THE USE
OF OR INABILITY TO USE THE PRODUCT, EVEN IF DATE-TIME.COM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

3. SCOPE OF GRANT
You may not reverse engineer, decompile or disassemble the SOFTWARE.  Date-Time.Com shall retain title and all ownership rights to the SOFTWARE.

4. COPYRIGHT
This SOFTWARE is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and treaties.

5. MAINTENANCE
Date-Time.Com is not obligated to provide maintenance or updates for the SOFTWARE. However, any maintenance or updates provided by Date-Time.Com shall be covered by this Agreement.

6. DISTRIBUTION
The SOFTWARE may be freely distributed provided that it is not modified and
the original archive remains intact with all accompanying files, and provided
that no fee is charged (except for any reasonable fees necessary to cover costs of distribution media).  Should a fee be charged or any of the distribution package need to be modified you must contact Date-Time.Com for explicit written permission.


