Javascript Tutorial
Y2K and your date scripts
While this tutorial may no longer be relevant in today's time, it's still useful to understand the problem and solution that once plagued JavaScript in certain browsers that is the Y2K bug.
Top 20 Similar Javascript Tutorials
Born On Date
Thist tutorial contains a java script code, In place of the boring 'Last Updated' script, you can use this script. It does everything and more - it gives the page title, the day the page was last updated, and if the page has been updated since the visitor's last visit all in a cool little table!
Validation (Date)
Dates are validated and formatted in your form. Supports over a dozen different date formats, and formats the date properly in United States or European date formatting styles depending on how the script is configured. A dateCheck function also is included if you wish to compare two dates. Wow!
Forms »
Date Picker
Date Picker provides a pop-up calendar in a dynamically populated DIV. It combines the original date-picker script by Kedar R. Bhave and the overlib library by Erik Bosrup. This method is an improvement over using a pop-up window, since so many people are installing software to suppress the annoying pop-up windows generating for advertising.
Date Images
Displays the current date using images. This allows you to be more creative and use any images you want, such as images that match the color or theme of your site
Date Difference
Enter two dates (including the time!) and this script will display the number of weeks, days, hours, minutes, and seconds between the two. The seconds field is optional, too. For an example, try entering your birthdate and compare it to today's date.
General »
Current Date
you can find a script in this tutorial and Use it to write the current date to your web page. Looks very professional. Another very neat effect - some great JavaScripting!
Ace Date Display
Use this code snippet to display today's date on your web page.
Validate Date
This is a simple date validation. The script is written for the European format (ddmmyy), but can easily be changed.
Forms »
Date Selector
Yet another handy little script that adds drop down boxes to your site so that you can select dates. It's customizable and works for leap years as well.
Date & Time Scroll
Yes, this is another JavaScript scroll. But, unlike the others, this one has the date & time included at the front of the first message! It looks very professional!
General »
Date Menu Calendar
This tutorial you can find a JavaScript code which uses the Date function to dynamically generate accurate dates for the pull-down menus. Each time the user selects a year or month, JavaScript gets the correct number of days in that month and updates the pull down menu. The script is Y2K compliant and also works for leap years. Cool!
Status Bar Date-Time
The script displays the current date and time in the status bar of the browser. It contains a nifty switch which can be altered to adjust the display of either date, time or both! IE only.






