计算ISO周数的例程也必须返回可能的 修改年份,并且还可以返回日期编号:Mon..Sun = 1..7。 在发布之前,可以阅读新闻组的常见问题解答。 阅读<网址:http://www.merlyn.demon.co.uk/weekinfo.htm>, < URL:http://www.merlyn.demon.co.uk/js-date2的.htm#周> ff。 - ?约翰斯托克顿,英国萨里。 [email protected] Turnpike v4.00 IE 4? < URL:http://jibbering.com/faq/> Jim Ley的新闻常见问题解答:comp.lang.javascript < URL:http://www.merlyn.demon.co.uk/js-index.htm> JS数学,日期,来源。 < URL:http://www.merlyn.demon.co.uk/> TP / BP / Delphi / JS /& c。,FAQ主题,链接。 Although you do not explicitly say so, you appear to be in South Africa;I don''t know much about relevant SA custom. Firstly, you must determine whether the week number is to match theinternational standard ISO 8601, or one of the seemingly numerousAmerican standards, or that of the UK Inland Revenue, or somethingdreamt up in South Africa, or what. A routine to calculate ISO week number must also return the possibly-modified year, and might as well also return the day number : Mon..Sun =1..7. Before posting here, it is well to read the newsgroup''s FAQ. Read <URL:http://www.merlyn.demon.co.uk/weekinfo.htm>,<URL:http://www.merlyn.demon.co.uk/js-date2.htm#Weeks> ff. --? John Stockton, Surrey, UK. [email protected] 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. 这篇关于日期问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-28 20:41