Odd InputBox error
Can anyone please explain the following weird inconsistency??? My Regional Setting is confirmed as (Short Date): dd/mm/year so why does this happen when i run the script below??
Wscript.Echo Date 'Shows: 13/06/2008
strValue = InputBox("Enter Start Date:","Test", Date) 'Shows: 06/13/2008 in the box.
Wscript.Echo Date 'Shows: 13/06/2008
Any DateAdd calculation only happens on the (incorrect) "06/13/2008" value.
|