TIP: Click on subject to list as thread! ANSI
echo: os2
to: Bob Wright
from: Jonathan de Boyne Pollard
date: 1999-10-02 09:51:23
subject: New DATE and TIME commands

 JdBP>> If you crank up IBM's 16-bit CMD, and run the TIME command with the
 JdBP>> /? option, you will notice that it documents a /N option.

 BW> Not on Warp Connect it doesn't... this is with FP42.  The only thing
 BW> that comes up if you use DATE /? is: [...omitted...]
 BW> If you use "Help date", you get essentially the same information
 BW> except in INF format..

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

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

        [C:\]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] [/N]
        where:
          hh   Specifies the hour.
          mm   Specifies the minute.
          ss   Specifies the seconds and the hundredths of a second, separated
               by a period.
          /N   Means no prompt for TIME.
        
        Type TIME without parameters to display the current time setting
        and the prompt for a new time.  Press Enter to keep the same time.
        
        Type TIME with parameters to enter the time without being prompted
        by the system.
        
        [C:\]

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

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

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
114/441
* Origin: JdeBP's point, using Squish (2:257/609.3)

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™.