romsky
06-18-2004, 05:24 AM
I am fairly new to JavaScript, but have been able to figure a lot out, but what I have been trying to do for three weeks is this: on my website: www.southportvfd.com, I have a counter that counts up from the date the Fire Department was establish October 2, 1895. The months, days, hours, minutes, and seconds are fine, but the YEAR field also comes from the time of the local user. So since we were established on Oct 2, 1895, we have not been around for 109 years until Oct 2, 2004 . . . but since it has been 109 years since Jan 1 1895, the counter says 109 years. My solution is that I made 2 files: myclock.js (which counts from 1895), and myclock_.js (which counts from 1894)
I AM LOOKING FOR: a JavaScript that will load "/js/myclock.js" if the current date is Oct 2 through Dec 31, and load "/js/myclock_.js" if the current date is Jan 1 through Oct 1.
PLEASE HELP
-Romsky
I AM LOOKING FOR: a JavaScript that will load "/js/myclock.js" if the current date is Oct 2 through Dec 31, and load "/js/myclock_.js" if the current date is Jan 1 through Oct 1.
PLEASE HELP
-Romsky