From: Dr J R Stockton on
ISO Week Number in DatePart in VBS, at least up to Version 5.8, build
18702, is known to be buggy,

Is it likewise buggy in Windows 7 ?

Since WSH and MSIE use the same VBS engine (I think), it should be
sufficient to open, in MSIE in Windows 7 (version / SP ?), my Web page
section <URL:http://www.merlyn.demon.co.uk/vb-date2.htm#DP> "ISO Week
Number Using DatePart", and to paste in reply the content of the first
yellow box in subsection "Web VBS WN Error", which should be two lines.

All yellow-box material is computed on the reader's system.

Other parts of the section do more detailed tests, and present code
which can be executed in Windows Script Host as such, and in Office 2003
Word or equivalent.

--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05.
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.
From: "Dave "Crash" Dummy" on
Dr J R Stockton wrote:
> ISO Week Number in DatePart in VBS, at least up to Version 5.8, build
> 18702, is known to be buggy,
>
> Is it likewise buggy in Windows 7 ?
>
> Since WSH and MSIE use the same VBS engine (I think), it should be
> sufficient to open, in MSIE in Windows 7 (version / SP ?), my Web page
> section <URL:http://www.merlyn.demon.co.uk/vb-date2.htm#DP> "ISO Week
> Number Using DatePart", and to paste in reply the content of the first
> yellow box in subsection "Web VBS WN Error", which should be two lines.
>
> All yellow-box material is computed on the reader's system.
>
> Other parts of the section do more detailed tests, and present code
> which can be executed in Windows Script Host as such, and in Office 2003
> Word or equivalent.
>
I don't know exactly what you want, but this is what I get in the first
yellow box:

2003-12-29 : true ISO WeekNumber = 1. My IE 4 to 8 gave W=53. You get W=53.
You are using VBScript Version 5.8, build 16385.

I am running IE8(*32) in Windows 7 x64.
--
Crash

Life is short. Eat dessert first.
From: Dr J R Stockton on
In microsoft.public.scripting.vbscript message <Rfwgn.8662$sx5.5753(a)news
fe16.iad>, Mon, 22 Feb 2010 09:11:07, "Dave \"Crash\" Dummy"
<invalid(a)invalid.invalid> posted:
>Dr J R Stockton wrote:
>> ISO Week Number in DatePart in VBS, at least up to Version 5.8, build
>> 18702, is known to be buggy,
>> Is it likewise buggy in Windows 7 ?
>> Since WSH and MSIE use the same VBS engine (I think), it should be
>> sufficient to open, in MSIE in Windows 7 (version / SP ?), my Web page
>> section <URL:http://www.merlyn.demon.co.uk/vb-date2.htm#DP> "ISO Week
>> Number Using DatePart", and to paste in reply the content of the first
>> yellow box in subsection "Web VBS WN Error", which should be two lines.
>> All yellow-box material is computed on the reader's system.
>> Other parts of the section do more detailed tests, and present code
>> which can be executed in Windows Script Host as such, and in Office 2003
>> Word or equivalent.
>>
>I don't know exactly what you want, but this is what I get in the first
>yellow box:
>
>2003-12-29 : true ISO WeekNumber = 1. My IE 4 to 8 gave W=53. You get W=53.
>You are using VBScript Version 5.8, build 16385.
>
>I am running IE8(*32) in Windows 7 x64.


That's it : thanks. If the fault had been fixed, the first of those
lines would have ended "You get W=1." or possibly "... 01.".

FYI, my machine shows for the second line
"You are using VBScript Version 5.8, build 18702.", apparently a later
build.

--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05.
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.