Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Date format problems after applying Vista SP1

Reply
Thread Tools Display Modes

Date format problems after applying Vista SP1

 
 
Alex
Guest
Posts: n/a

 
      02-21-2008
I've installed Vista 64-bit SP1 and when I create a vbscript containing the
following:

wscript.echo "Date is " & DateValue(Now)
wscript.echo DateValue(Now)

Run this and the two results come out differently:

Date is 2/21/2008
21/02/2008

I have UK date format setting but it wants to give me the US date format if
I add text to the output. (If you don't use the DateValue function it still
comes up incorrectly.)

Does anybody else get an inconsistency when your regional settings aren't US
date format?

Thanks!

Alex
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Birthday field date and time format New Vista user Windows Vista Mail 2 11-29-2008 03:39 PM
Date Format Thom Little Windows Vista General Discussion 3 11-26-2008 05:21 AM
Date/Time Reset Problems Youngy Windows Vista General Discussion 3 10-09-2007 09:01 AM
Photo Gallery Date/Time Format jeff Windows Vista File Management 0 09-11-2007 10:18 PM
Vista and applying a WIM file JV Windows Vista Installation 1 05-08-2007 02:57 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59