Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: daniels@biles.com (Brad Daniels)
Subject: Passing time values?
Date: Mon, 14 Mar 1994 23:12:00 GMT	[thread overview]
Message-ID: <CMoGG1.DAB@biles.com> (raw)

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.) +
------------------------------------------------------------------------


                 reply	other threads:[~1994-03-14 23:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox