From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,cfcd0d8cd1572a01,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-03-15 07:23:46 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!sdd.hp.com!cs.utexas.edu!swrinde!menudo.uh.edu!uuneo.NeoSoft.com!jabberwock!daniels From: daniels@biles.com (Brad Daniels) Subject: Passing time values using DCE RPC? Organization: Biles and Associates Date: Tue, 15 Mar 1994 15:23:46 GMT Message-ID: I somehow accidentally posted this message to comp.unix.osf.osf1 yesterday, when I meant to post it here: I've run into some nasty difficulties trying to pass time values between VMS and OSF/1 using DCE RPC. I want to pass the time in UTC, since the two machines involved may be in different timezones. I couldn't find any RPC time representation, so I tentatively settled on a compact string representation. Generating such strings is easy on UNIX, and a bit more difficult on VMS (due to the lack of gmtime()). Unfortunately, the reverse conversion seems substantially more difficult. I can't find a function which does the inverse of gmtime(). I've come up with a cheap hack algorithm which might work, but I'm wondering what others have done in this situation. Thanks! - Brad ------------------------------------------------------------------------ + Brad Daniels | "Let others praise ancient times; + + Biles and Associates | I am glad I was born in these." + + These are my views, not B&A's | - Ovid (43 B.C. - 17 A.D.) + ------------------------------------------------------------------------