Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!m.cs.uiuc.edu!ux1.cso.uiuc.edu!phil From: phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) Newsgroups: comp.lang.asm370 Subject: Re: Getting the Current time upto the hundredth of second Message-ID: <1991Apr13.012838.18311@ux1.cso.uiuc.edu> Date: 13 Apr 91 01:28:38 GMT References: <9104122025.AA29777@ucbvax.Berkeley.EDU> Distribution: inet Organization: University of Illinois at Urbana Lines: 15 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!! / \***************************************************************************/