🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #921

RE: TOD clock and the year 2043

#921
From: "John S. Fisher"
Date: Tue, 19 Dec 1989 19:47
17 lines
1074 bytes
>Does anyone have a set of Assembler routines that convert from a
>TOD clock value to a date and time?

It is probably overkill for your application, but I'm sending you an assembler
subroutine for date/time formatting.  (It breaks at 2043 and I don't care :-)
You give it a text string argument like

Good <part>, it is <hh,z>:<mm> <am> on <day>, <Month> <dd,z><th>, <year>.

and it returns something like

Good afternoon, it is 1:13 pm on Tuesday, December 19th, 1989.

Most of the subroutine's code deals with fracturing the TOD clock value.


/JSFisher
Technical Details
Message-ID: <8912192000.AA17301@brazos.rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!RPIECS.BITNET!FISHER

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!RPIECS.BITNET!FISHER
From: FISHER@RPIECS.BITNET ("John S. Fisher")
Newsgroups: comp.lang.asm370
Subject: RE: TOD clock and the year 2043
Message-ID: <8912192000.AA17301@brazos.rice.edu>
Date: 19 Dec 89 19:47:22 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List <ASM370%UCF1VM.BITNET@ricevm1.rice.edu>
Distribution: inet
Organization: The Internet
Lines: 17