|
|
| About site: Software/Year 2000 - JavaScripts in Y2K |
Return to Computers also Computers |
| About site: http://javascript.internet.com/y2k/ |
Title: Software/Year 2000 - JavaScripts in Y2K Shows you how to write or fix the JavaScripts on your site for Y2K compatibility. |
| Alexa statistic for http://javascript.internet.com/y2k/ |
Please visit: http://javascript.internet.com/y2k/
|
| Related sites for http://javascript.internet.com/y2k/ |
| www-svg@w3_org_Mail_Archives Official discussion forum. [RSS] | | Algorithmic_Algebra_and_Number_Theory Computer Algebra research group of the IWR, Heidelberg. People, research, teaching, activities, software and links. | | Rita_Loogen Member of Eden team. Articles. | | Taber,_Louis Pima Community College, Tucson, Arizona. | | Star_Sapphire_Common_Lisp DOS CL implementation with CLOS. Download, full CL reference manual. From Sapiens Software Corp. [free copyrighted unsupported shareware] | | Wynsoft\'s_Assembler_hints_and_tips Useful hints and tips on writing IBM mainframe assembler code. | | Q_Equational_Programming_Language An extensible functional programming language based on the term rewriting calculus. | | 2_Zones Internet café in Antwerp offering internet access, multiplayer gaming, computer training, graphics design, website development and other computer services. | | RFC_1231 IEEE 802.5 Token Ring MIB K. McCloghrie, R. Fox, E. Decker. May 1991. | | 247_Fixes_Forum Forum offering help and assistance on spyware and adware removal. Includes a supplemental web page offering tips for home users to defend against malware attacks. | | Etineria Seller of theme based portal advertising. | | SoftLearn_Systems Provides simulators for SCBCD and SCJD exams. [Commercial] | | Reach_Online Web Based Training Courses on computer applications, professional development, technical certification preparation, and practical skills. | | BABEL Operational semantics based on lazy narrowing; provides some higher-order features. | | MWJ_Computers Freeware programs and controls designed in Visual Basic. | | Meta_Tag_Maker_-_Metty_Freeware A freeware tool creating up to thirty-three meta tags, including the description and keyword. The program is able to insert tags into an existing HTML file. | | TCFM Offers web design and hosting services. Located in South Carolina, United States. | | Webstyle_Creations Provide web design, domain registration, and hosting. Based in Christies Beach, South Australia. | | Pixels_Plus Offers design, hosting and domain registration. Located in California, United States. | | Sailfish-maintained_Mozilla_Themes Contains links to many Mozilla and Netscape themes and other free internet stuff. |
|
This is websites2007.org cache of m/ as retrieved on 2008.08.28 websites2007.org's cache is the snapshot that we took of the page as we crawled the web. The page may have changed since that time.
|
The JavaScript Source: Y2K Center var tf_pubSiteId=115; var tf_maxKeywords=10; Y2K Center e-Newsletters Javascripts WeeklyNewsletter! Text HTML Developer Channel FlashKit HierMenusCentral JavaScript.com JavaScript Source Jobs.WebDeveloper.com JustSmil ScriptSearch StreamingMedia Web Hosts WDJ WDVL WebDeveloper.com WebReference.com XML Files find a web host with: CGI Capabilities MySQL Windows Hosting Unix Hosting Telnet/SSH Sun Solaris advanced search internet.com Internet News Internet Investing Internet Technology Windows Internet Tech. Linux/Open Source Web Developer ECommerce/Marketing ISP Resources ASP Resources Wireless Internet Downloads Internet Resources Internet Lists International EarthWeb Career Resources Search internet.com Advertising Info Corporate Info internet.commerce Partner With Us
Web Hosting Directory
Computer Deals
Online Shopping
Business Liability
Memory Upgrades
Laptops
Auto Insurance Quote
Promotional Pens
Promos and Premiums
Swim at Home,Free DVD
Home Improvement
Phone Cards
Memory
Logo Design
Other Categories!BG EffectsButtonsCalculatorsCalendarsClocksCookiesEquivalentsFoldertreeFormsGamesGeneratorsMessagesMiscellaneousNavigationPage-DetailsPass. Protec. ScrollsUser-Details} Well, Y2K finally arrived and the world didn't come to an end, no nuclear missiles went off, and the stock market didn't crash. One thing that you might have not noticed is that some date-related JavaScripts have unnoticeably fallen prey to the Y2K bug. Go ahead and check your Web site to see how any date-related scripts are doing...Back? Good. Bad News? Ok, it's happened to us all. Now, let's fix it.I've included a short example program and have dissected it line by line .... Read on:<script language="JavaScript">This line tells the browser it is beginning a JavaScript code section.// BeginThis line is pretty much standard in all JavaScripts - it tell 'ancient' browsers that don't support JavaScript to ignore the following script.when = new Date();This line set the day variable to a new Date. Since Date() has no parameters -- nothing inside the parenthesis -- the default date is set to the exact moment the script is loaded.day = when.getDate();This statement extracts the current day of the month, for example the 3 in January 3, 2000year = when.getYear();And, this line will extract the current year correctly as 19xx for years less than 2000, but reads 100 for 2000. Netscape's getFullYear() function attempts to work-around this, but here's a easier and more reliable solution until the getFullYear() function is supported by all major browsers....if (year < 2000)year = year + 1900;If the year is read correctly as 2000 (or more) in the browser, everything is ok and the next line is ignored. If, however, the browser reads 100 instead, the if statement evaluates to true (100 < 2000 "100 is less than 2000") and the next line ads 1900 to it, to make it 2000. year equals year plus 1900, (100 + 1900 = 2000)then you can have anydocument.write(year);statements you want, etc here. And, the year will be Y2K compatible!Then, you finish the script tags, like this....// End --></script>That's all there is to writing Y2K compatible scripts. Good luck! And, check back to The JavaScript Source often for script updates.
document.write(' ');
 If you like JavaScript Source, please rate it! @ScriptSearch.comExcellent!Very GoodGoodFairPoor
       
Search:
Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia Jupitermedia Corporate Info
document.write(' Copyright ');
var now = new Date();
document.write( + now.getFullYear());
document.write(' Jupitermedia Corporation All Rights Reserved.');
Copyright 2008 Jupitermedia Corporation All Rights Reserved.
Legal
Notices, Licensing,
Reprints,
& Permissions,
Privacy
Policy.
Advertise | Newsletters
| Tech
Jobs | Shopping | E-mail
Offers
Solutions
Whitepapers and eBooks
Symantec eBook: The Guide to E-Mail Archiving and Management
Microsoft Article: RODCs Transform Branch Office Security
Avaya Article: Advancing the State of the Art in Customer Service
Microsoft Article: Security Enhancements Abound in Windows Server 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Avaya Article: Avaya AE Services Provide Rapid Telephony Integration with Facebook
Intel Go Parallel Article: Getting Started with TBB on Windows
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Webcast: Disaster Recovery Planning
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
IBM TCO eKIT: Your IT Budget is Under Attack, Get in Control
IBM Energy Efficiency eKIT: Learn How to Reduce Costs
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Microsoft Article: Silverlight Streaming--Free Video Hosting for All
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
HP Demo: StorageWorks EVA4400
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
|
|
| |
Shows | you | how | to | write | or | fix | the | JavaScripts | on | your | site | for | Y2K | | compatibility. |
|
http://javascript.internet.com/y2k/
JavaScripts in Y2K 2008 August
dvd rental
dvd
Shows you how to write or fix the JavaScripts on your site for Y2K compatibility.
Rules
|
© 2008 Internet Explorer 5+ or Netscape 6+
|
|
Recommended Sites: 1.
Arts -
Business -
Computers -
Games -
Health -
Home -
Kids and Teens -
News -
Recreation -
Reference -
Regional -
Science -
Shopping -
Society -
Sports -
World
Miss Gallery
- Top Anime Hentai
- DVD rental by mail
- Daddy Yankee - Ringtones - Credit Counseling - Personal Car Finance - Best Credit Cards
|