From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,efaecd51e53bb4f7,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-14 15:12:00 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!hookup!swrinde!menudo.uh.edu!uuneo.NeoSoft.com!jabberwock!daniels From: daniels@biles.com (Brad Daniels) Subject: Passing time values? Organization: Biles and Associates Date: Mon, 14 Mar 1994 23:12:00 GMT Message-ID: 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.) + ------------------------------------------------------------------------