Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Formatting

Status
Not open for further replies.

YoelBenYossef

Programmer
Nov 16, 2005
38
CA
Hi there,
I've been migrating an application from windows 98 to Windows Server 2003. I've found one bug in the program though. Server 2003 uses date formats that don't exist in Windows XP or 2000. Therefore I need to force it to use a certain format, rather than relying on VBShort, or VBLong.

Does anyone have a tutorial that explains how to do this?

Thanks
Eric
 
If you need to feed the output string from the os to vbs, simply transform the output string to the desired format vbs recognizes. Same for the reversed process... In any case, that can hardly be called a bug.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top