| Deutsch English Français Italiano |
|
<vcd21c$3nnaq$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: VMS Software Bootcamp 2024
Date: Tue, 17 Sep 2024 19:06:21 -0400
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <vcd21c$3nnaq$1@dont-email.me>
References: <7c6e9a918559f88f5bce8b69e461dcfdec96ba30@i2pn2.org>
<66e465e9$0$705$14726298@news.sunsite.dk> <vc1uc1$vrpj$1@dont-email.me>
<vc1v5l$svaa$1@dont-email.me> <vc21ar$pk50$1@dont-email.me>
<vc97va$2r783$1@dont-email.me> <vccm3q$3lvi8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 18 Sep 2024 01:06:21 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="830c6c231e366e22265cd8273d1f5b61";
logging-data="3923290"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vHjm+50nwj7CRvxuveU29N6iRi45fB68="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:D7NXTzbv0Tno/wp348AXlCntUD4=
In-Reply-To: <vccm3q$3lvi8$1@dont-email.me>
Content-Language: en-US
Bytes: 2306
On 9/17/2024 3:42 PM, Tom Wade wrote:
>> I must admit I was a bit surprised to see it written in the way it was
>> as I am much more used to a 24-hour clock. I don't know if that's more
>> of a European thing than a US thing however.
>
> I was quite disappointed to see it written that way. VMS has always
> used 24 hour time, and the traditional DECUS US agendas were also listed
> that way, with sessions starting at 08:00 and some days ending at 23:00.
The traditional VMS time text format is pretty good. Very difficult
to misunderstand.
Of course in most programming languages today you can specify
the format to use.
$ show time
17-SEP-2024 19:03:14
$ type now.groovy
import java.text.*
df1 = new SimpleDateFormat("HH:mm")
df2 = new SimpleDateFormat("hh:mm a")
now = new Date()
println(df1.format(now))
println(df2.format(now))
$ groovy now.groovy
19:03
07:03 PM
$ type now.py
from time import *
now = time()
print(strftime('%H:%M', localtime(now)))
print(strftime('%I:%M %p', localtime(now)))
$ python now.py
19:03
07:03 PM
Arne