China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 15:43
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] How to use DATE! View 851 Replies 2
Original Poster Posted 2003-06-13 00:00 ·  中国 重庆 电信
初级用户
Credits 114
Posts 4
Joined 2003-06-07 00:00
23-year member
UID 4199
Gender Female
Status Offline
DATE is a DOS command for the date!
If you enter it like this: DATE 01-01-2003
the date becomes 2003-01-01
But to change it back you have to enter DATE 06-13-2003
Can I first pass today's date into a variable, and then call that variable when I want to change it back???
Floor 2 Posted 2003-06-14 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Sure. . . for example, programs like STRINGS can do it.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-06-15 00:00 ·  中国 北京 联通
高级用户
★★
Credits 546
Posts 135
Joined 2003-06-13 00:00
23-year member
UID 5077
Gender Male
Status Offline
I don't know what environment you want to make the change in. In a programming environment you can record it in a variable, but under DOS~~I don't know what you want to change it for.
Forum Jump: