TIP: Click on subject to list as thread! ANSI
echo: os2
to: Darren Hamilton
from: Jonathan de Boyne Pollard
date: 1999-09-16 18:40:27
subject: Os2clu02 & Utc

 DH> This includes OS/2 Warp v3.0 (FP 40) time and date functions, [...]

You have something to look forward to.

Not only do the DATE and TIME commands supplied with the 32-bit CMD command
interpreter display the current timezone and support the /N switch (which
IBM's documentation describes, you will find, but which the 16-bit CMD does
not actually implement), but they *also* operate correctly when it comes to
timezone support and the TZ environment variable.  So, too, incidentally, do
the various date and time sequences in the PROMPT environment variable.

Cut and pasted from another window:

        [C:\]ver
        CMD 0.1.14   OS/2 2.40.0
        [C:\]set TZ
        TZ=GMT0BST,M3.5/1,M10.5/1
        [C:\]prompt $D $T $u [$P]
        Wed 1999-09-15 22:18:01 BST [C:\]date /n
        Current date is: Wed 1999-09-15 22:18:01 +0100
        Wed 1999-09-15 22:18:01 BST [C:\]set TZ=EST-10EDT,M10.5,M3.5
        Thu 1999-09-16 07:18:01 EST [C:\]date /n
        Current date is: Thu 1999-09-16 07:18:01 +1000
        Thu 1999-09-16 07:18:02 EST [C:\]set TZ=GMT0BST,M3.5/1,M10.5/1
        Wed 1999-09-15 22:18:02 BST [C:\]date
        Current date is: Wed 1999-09-15 22:18:02 +0100
        Enter a new date:

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
* 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™.