100% Actually Free Web Graphics
yes, really
Annoyed by 'free' things that aren't? Me too. So, I'm giving you all the graphics, symbols, icons, web banners, backgrounds and animations that I've made over the years, 100% actually free for personal or business use (just not for inclusion in other collections without permission). Enjoy!
Web Graphics
Alchemy Symbols
Animations
Arrows
Backgrounds
Bullets, Balls & Stars
Buttons - Animated
Buttons - Oval
Buttons - Rectangular
Hazard
& Roadsigns
CSS Tips
Page Backgrounds
Boxes w/ Rounded Corners
ZenCart Configuration
Dreamweaver Tips
Utilities
XLS to Convert DD to DMS
Unit Converter
Useful JavaScripts
Stupid HTML Tricks
Firefox Web Browser
Good Web Hosting
Contact Me
Off-Site Resources
JavaScript Snippets - Date/Time Updated
Display when a page was last updated, in various formats.
Copy the code below and place it wherever you would like the text to appear on your page. You do not need to add any code to the head of your page.
Display date according to a fixed format. Use this code if you want the date to appear in the format mm/dd/yyyy
<script language="JavaScript" type="text/JavaScript"> <!--
var t = new Date(document.lastModified);
document.write("<I>Last Updated: "+(t.getMonth()+1)+"/"+t.getDate()+"/"+t.getYear()+"</I>");
< !--end-->
< /script >
Display date according to whichever format the user's browser is configured to show. This is the best option if you expect visitors from around the world -- cultures display dates differently. After all, does 12/3/2006 mean December 3rd, or March 12th? I get tripped up by that all the time. Of course, I also learned to call Celsius 'Centigrade' but I'll spare you the amusing anecdote.
<script language="JavaScript" type="text/JavaScript"> <!--
var t = new Date(document.lastModified);
document.write("<I>Last Updated: "+document.lastModified+"</I>");
< !--end-->
< /script>
Personally, I prefer to always use the format yyyy/mm/dd because it eliminates confusion, allows files to be quickly sorted by the date associated with their content, and it makes me all nostalgic for *nix.
< script language="JavaScript" type="text/JavaScript"> <!--
var t = new Date(document.lastModified);
document.write("<I>Last Updated: "+t.getYear()+"/"+(t.getMonth()+1)+"/"+t.getDate()+"</I>");
< !--end-->
< /script>
Yes, I'll do custom requests -Talk to me, I rarely bite
What's New? - Shiny new things added irregularly