TIP: Click on subject to list as thread! ANSI
echo: os2
to: Jonathan de Boyne Pollard
from: Bob Wright
date: 1999-10-07 19:27:26
subject: New DATE and TIME commands

Greetings, Jonathan...

 Jonathan de Boyne Pollard hastily said to Bob Wright:

 JdBP> The _TIME command_ is not generally spelled 'D' 'A' 'T' 'E'.  (-:

....

I *actually* did try both of them, then blithely reported the wrong one...

 JdBP> Here's the help text message for the TIME command from IBM's 16-bit CMD
 JdBP> as supplied with OS/2 Warp 4.0.6 :

And here's the "correct" Warp Connect one...

F:\]time /?
        Use the TIME command to display or change the system time or to reset
the time on your computer clock.

        Syntax:
          TIME: [hh:mm:ss]
        where:
          hh    Specifies the hours.
          mm    Specifies the minutes.
          ss    Specifies the seconds and the hundredths of seconds, separated
                by a period or comma.

        Type TIME without parameters to display the current time setting and
        the prompt for a new time.  Press enter to keep the same date.
                                                                 ^^^^^
                                                                ( This is NOT
a "typo", it is verbatim... Even IBM's editors aren't perfect I guess..)

        Type TIME with parameters to enter the time without being prompted by
the system.

 JdBP> As I said, documenting the option is as far as IBM's 16-bit CMD goes.
 JdBP> It doesn't actually implement it.  The 32-bit CMD does, however:

 JdBP>         [C:\]ver
 JdBP>         CMD 0.1.18   OS/2 2.40.0
 JdBP>         [C:\]time /n
 JdBP>         Current time is: Sat 1999-10-02 10:56:36 +0100
 JdBP>         [C:\]

F:\]ver
The Operating System/2 Version is 3.00
F:\]time /n
SYS1003: The syntax of the command is incorrect.


        -- Bob

--- GoldED 2.41
7102/1
* Origin: Merlin's Tower - Surrey, BC (1:153/944)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.