🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #678

Re: Getting the Current time upto the hundredth of second

#678
From: news
Date: Sat, 13 Apr 1991 01:28
15 lines
1365 bytes
DRS@IBRDVM1.BITNET writes:

>   I am trying to get the current time  under VM/CMS. I used the TIME
>macro in OSMACRO MACLIB to get time upto hudredths of a second. But
>I am getting 00 for the hundredths part. Do you have a solution ? or

Just use the TIME macro to figure out the zone offset.  Use the STCK
instruction to get the current time.  Be sure you can handle that RARE
case of the hour boundary crossing between TIME and STCK when trying
to differentiate the time zone.
--
 /***************************************************************************\
/ Phil Howard -- KA9WGN -- phil@ux1.cso.uiuc.edu   |  Guns don't aim guns at  \
\ Lietuva laisva -- Brivu Latviju -- Eesti vabaks  |  people; CRIMINALS do!!  /
 \***************************************************************************/
Technical Details
Message-ID: <9104130223.AA10188@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!ucf1vm.BITNET!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!ucf1vm.BITNET!news
From: news@ucf1vm.BITNET
Newsgroups: comp.lang.asm370
Subject: Re: Getting the Current time upto the hundredth of second
Message-ID: <9104130223.AA10188@ucbvax.Berkeley.EDU>
Date: 13 Apr 91 01:28:38 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
              <ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 15