HighDots Forums  

Re: javascript and netscape

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: javascript and netscape in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dr John Stockton
 
Posts: n/a

Default Re: javascript and netscape - 10-12-2003 , 03:05 PM






JRS: In article <Ht1ib.578$mM1.263 (AT) newsfep4-winn (DOT) server.ntli.net>, seen
in news:comp.lang.javascript, Brian H¹© <no.spam (AT) this (DOT) addy.ta> posted at
Sun, 12 Oct 2003 01:44:24 :-
Quote:
The following script works ok for IE, but when someone views it using Netscape
the year shows as 103, is there anything that can be changed in the script to
render it Netscape friendlier please?
Method getFullYear is available in most browsers; but all you need to do
is to change 100 to 1000 or 1e3.

When posting code, do not allow your news software to line-wrap it; that
is inconsiderate towards possible readers.

Telling your readers the current local date is rather pointless and a
waste of resources; they can discover it in many other ways.

Read the FAQ.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> JS maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/JS/&c., FAQ topics, links.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.