Computing.Net > Forums > Office Software > Display day alone in command prompt

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Display day alone in command prompt

Reply to Message Icon

Name: keerthirb
Date: August 25, 2009 at 05:55:18 Pacific
OS: Windows XP
Product: Maxell Ma-m230 dos optical rewritable 1pk 230mb
Subcategory: General
Comment:

HI

I need the command that displays day of the week alone in the command prompt.

example:
The day today is tuesday



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: August 25, 2009 at 06:08:13 Pacific
Reply:

I think the best you can do is:

echo The day today is %date:~0,3%

which will return:

The day today is Tue

Also, see this thread:

http://www.computing.net/answers/wi...


0

Response Number 2
Name: keerthirb
Date: August 26, 2009 at 05:08:45 Pacific
Reply:

It was helpful.
Thanks for your reply.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Display day alone in command prompt

Combo Box in Access www.computing.net/answers/office/combo-box-in-access/3477.html

Folder order in file/open dialogue www.computing.net/answers/office/folder-order-in-fileopen-dialogue/4227.html

Access - Calculate in report! www.computing.net/answers/office/access-calculate-in-report/6231.html