Time and Date Scripts - Page 7 | JavaScriptSource

Time and Date Scripts - Page 7

These scripts all relate to time and dates. Some of them display only the month, others the entire year. Some highlight the current day or tell you when you entered the page. Other scripts display the current date or time according to the user's time zone, or another time zone some other place in the world. The source code is available for all the scripts.

Visit The JavaScript Forum for help coding scripts or general questions about the scripts themselves.

  • LastModified by bitmap
    Kien Dec 2, 2000

    Uses bitmap images to display date of LastModified. JonStipe's idea.

  • Updated Countdown Timer - Handles Dates in the Past
    stefan Dec 1, 2000

    This is an update of the original countdown timer. This scritp will handle dates that passes. This also handles the year 2000 problem in Netscape.

  • Bar Clock
    Nov 16, 2000

    Display hours, minutes, and seconds in bars, also gives you hours, minutes, seconds, and complete time with AM, PM status. Great!

  • Object Oriented Events Calender II
    dan Nov 3, 2000

    Pop-up and/or Anchor Style Events Calender. Editable colors. Little scripting required. Commented Code Source.

  • PopCalendar 4.10 for IE
    Liming Oct 5, 2000

    iT iS ThE Best dATE pICKER iN jAVASCRIPTS wORLD! using IFRame and more... Not Support Netscape yet!

  • DayWeek
    Steve Oct 3, 2000

    Calculates the day of the week corresponding to a particular date. Ever wanted to know which day of the week you were born on?

  • Dave's Form Clock
    Dave Oct 2, 2000

    This script shows the time in a 12 hour clock format with A.M. and P.M. Fully customisable to suite your web-page. http://www.dave-web.co.uk

  • Age Finder
    Sep 9, 2000

    Not only will this script tell you how many days, hours, minutes, and seconds old you are, it tells you how long until your next birthday!

  • Binary Clock
    Mark Lockwood Sep 9, 2000

    Ever seen binary code? You know, the series of 1's and 0's. This clock actually displays the time in the same binary format. Definitely something cool to put on your site if you are a programmer. ;-)

  • Button Time
    Sep 9, 2000

    Here is a pretty neat way to show what time it is - in a little button! When the page is loaded, JavaScript will show a little button with the time! Check it out!

  • Clock Type
    Sep 9, 2000

    Essentially a multi-function scroller, this script does some really amazing stuff. It takes your message line and scrolls it left and right and .... Just check it out!

  • Count Up & Down
    Sep 9, 2000

    Here, you can use stopwatch functions to count up and down - separately or together at once. Try it out! A neat JavaScript example.

  • Current Date
    Sep 9, 2000

    Use this script to write the current date to your web page. Looks very professional. Another very neat effect - some great JavaScripting!

  • Current Date & Time
    Sep 9, 2000

    Put the current date & time on your page with this cool little JavaScript coding. All of 3 lines.....

  • Current Date & Time (Long)
    Sep 9, 2000

    This is the somewhat longer way to put the current date & time on your page. It writes in a longer date and time format than the previous date & time script. The script is also longer....

  • Current Date & Time (Short)
    Sep 9, 2000

    Put the current date & time on your page with this cool little JavaScript coding. All of 3 lines..... (09/09/2000)

  • Current Time
    Sep 9, 2000

    Use JavaScript to put the current time on your page. It even follows the time in A.M. and P.M.! A nice script.

  • Current Week
    Mark McCain Sep 9, 2000

    Displays the date the current week starts on. Useful if you want a new link each week or just to show the first day of the current week.

  • Date Images
    Jeff Harding Sep 9, 2000

    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 Menu
    Ben McFarlin Sep 9, 2000

    This JavaScript 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!

  • Days Left
    Justin Smith Sep 9, 2000

    Procrastinators everywhere, rejoice! If many of your projects end up being due on the first of the month, do you know how many days do you have left? This script calculates and displays the number of days (not weekdays) left in the current month in a snap. And, the script has no trouble with leap year or Y2K.

  • Days Old
    Sep 9, 2000

    How long have you had that job? How many days old are you? Find the answers to these questions and more!

  • Dynamic Calendar
    Nick Korosi Sep 9, 2000

    This calendar allows you to select a month and year and automatically display the a complete calendar for that month in Dynamic HTML. Great!

  • Dynamic Clock
    Craig Lumley Sep 9, 2000

    (Version 4.0+ browsers) Using layers, JavaScript can display a real-time clock your page. This is a really professional way to add that special touch to your web page. And, watch as the clock on your page updates every second. All done without using forms, cool!

  • What Week Is This
    Anonymous Sep 5, 2000

    Determine the current week of the year