Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: hoffman@xdelta.enet.dec.com (Stephen Hoffman)
Subject: Re: getting correct local time in VAX C program
Date: 1996/04/02	[thread overview]
Message-ID: <4jrtho$ror@nntpd.lkg.dec.com> (raw)
In-Reply-To: 4jec36$ff3@lastactionhero.rs.itd.umich.edu


In article <4jec36$ff3@lastactionhero.rs.itd.umich.edu>, raffel@umich.edu (David Raffel) writes:
:Are there any routines available that will return the correct
:local time, or any suggestions for how I can get the correct
:time?

  VAX C V3.1 is a veritable antique by present standards -- V3.2 is five
  or six years old.  The current C compiler for OpenVMS VAX is DEC C, and
  V5.2 is the current release.  (Both VAX C V3.2 and DEC C can coexist on
  the same OpenVMS VAX system, and both are enabled with the "C" license.
  DEC C requires a run-time kit -- in the distribution directory with the
  DEC C compiler -- for OpenVMS V5.5 through V6.0 inclusive.  The run-time
  kit is not necessary on and should not be installed on V6.1 or later.)

  DEC C V5.2 and OpenVMS V7.0 do include timezone support -- the VAX C
  compiler does not.  (OpenVMS V6.0 and later include the RTL support for
  UTC and similar, and much of the underpinnings necessary for solving
  this problem are present starting in that release -- gmtime and friends
  first return non-zero values on OpenVMS V7.0.)

  Prior to the V5.2/V7.0 release, you will need to implement the TDF
  calculations yourself.  This task is easiest on V6.0 and later, as the
  services are available.

  ------------------------- pure personal opinion ---------------------------
   Stephen Hoffman      OpenVMS Engineering      hoffman@xdelta.enet.dec.com
  ---------------------------------------------------------------------------




  parent reply	other threads:[~1996-04-02  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-28  5:00 getting correct local time in VAX C program David Raffel
1996-03-31  5:00 ` Carl J Lydick
1996-04-02  5:00 ` Stephen Hoffman [this message]
1996-05-10  4:00 ` Andy J Robb
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