Computing.Net > Forums > Windows Server 2003 > Date issues in win 2003 server

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Date issues in win 2003 server

Reply to Message Icon

Original Message
Name: claudiaz
Date: April 12, 2005 at 06:37:16 Pacific
Subject: Date issues in win 2003 server
OS: win 2003 server
CPU/Ram: 1
Comment:

Hi,

The following command in win 2003 server doesn't return the same output as per win NT

Command:
FOR /f "tokens=2-4 delims=/ " %%a in ('DATE/T') do SET DsxDate=%%c%%a%%b


The variable DsxDate in win 2003 server is supposed to have the days, months and years, but it doesn't. It contains only month and year. Why??

Some one knows the good format to obtain the days, month and year??
Thanks
Claudia


Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge
Poll History




Data Recovery Software