Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
* UTC binary representation
@ 1996-05-08  4:00 Jeffrey Gold
  1996-05-09  4:00 ` Robert Koehler
  1996-05-19  4:00 ` Michael Pettengill
  0 siblings, 2 replies; 3+ messages in thread
From: Jeffrey Gold @ 1996-05-08  4:00 UTC (permalink / raw)



I am looking for a STANDARD which defines how UTC (Universal Time Coordinate)
may be represented in binary.  I am aware of the ISO 8601:1988 standard which
defines TEXT representation of UTC, but this is not what is needed.

OpenVMS (from Digital Equipment) has defined a 128-bit representation of UTC.
However, it is not clear to which standards (if any) this representation 
adheres. 

Can anyone identify:
	1) On which standards the OpenVMS 128-bit representation is based.
	2) Any other (non-VMS) implementations of binary representation of UTC.
	3) Any existing or draft standards which address binary 
	   representation of UTC.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: UTC binary representation
  1996-05-08  4:00 UTC binary representation Jeffrey Gold
@ 1996-05-09  4:00 ` Robert Koehler
  1996-05-19  4:00 ` Michael Pettengill
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Koehler @ 1996-05-09  4:00 UTC (permalink / raw)



Jeffrey Gold (JeffGold9@gnn.com) wrote:
: I am looking for a STANDARD which defines how UTC (Universal Time Coordinate)
: may be represented in binary.  I am aware of the ISO 8601:1988 standard which
: defines TEXT representation of UTC, but this is not what is needed.

Does this standard establish a unique base date for representing UTC?  That 
would be required for standardizing a binary representation.

: OpenVMS (from Digital Equipment) has defined a 128-bit representation of UTC.
: However, it is not clear to which standards (if any) this representation 
: adheres. 

: Can anyone identify:
: 	1) On which standards the OpenVMS 128-bit representation is based.

The base date for VMS time is the begining of the Smithsonian Calendar.  I
don't believe any other standard has been applied.  How this 64 bit time is
mapped to 128 bit for UTC I don't know.

: 	2) Any other (non-VMS) implementations of binary representation of UTC.

Yep.  Mostly varying in the obvious, simply using the system time and mapping
or setting it to UTC:  base date (1970 for UNIX, 1980 for DOS), and the delta
corresponding to the least significant digit.  

I've also seen it done as a decimal-packed double precision floating point
based 1950.0 (the international geophysical year) (yymmdd.hhmmssffffffffffff).
And I've seen it transmitted in BCD (NASA IRIG-A and IRIG-B timecodes) instead
of binary or ASCII.

: 	3) Any existing or draft standards which address binary 
: 	   representation of UTC.


------------------------------------------------------------------------------
Bob Koehler                     | CSC/SSD/MITG
rkoehler@csc.com                |



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: UTC binary representation
  1996-05-08  4:00 UTC binary representation Jeffrey Gold
  1996-05-09  4:00 ` Robert Koehler
@ 1996-05-19  4:00 ` Michael Pettengill
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Pettengill @ 1996-05-19  4:00 UTC (permalink / raw)



re:attached
The UTC timestamp is intentionally opaque so that its interpretation can
be changed.
I don't agree with this position, but understand the sentiment.  This was
defined as
part of DECdts which was proposed and accepted as part of the OSF DCE
technology
and the concern was that the OSF process would require changes to the
binary format.

This format is incorporated in DECnet OSI for both OpenVMS and Digital
UNIX as
part of DECdts support.  And the format is also used by DEC's DCE product
offerings
for which the DCE client license is included with the OS, but not
necessarily the kit.
I'm not sure if the DCE binary format is specified for interoperability
between hardware
architectures (big vs little endien).

So much for the history.

The UTC time stamp has 4 components.  The first is a 64 bit timestamp that
is
the 100ns units since the date that the Gregorian calendar was adjusted. 
The second
is 48 bits of inaccuracy in units of 100 ns.  The third field is 12 bits
of TDF in minute
units.  And the fourth field is the version in 4 bits.

mulp

--
Michael Pettengill aka mulp
Digital Cluster Buster
I speak for myself and not my coworkers or anyone or any corporation;
to do otherwise would be redundant or plagerism.

On Wednesday, May 08, 1996, Jeffrey Gold wrote...
> I am looking for a STANDARD which defines how UTC (Universal Time
Coordinate)
> may be represented in binary.  I am aware of the ISO 8601:1988 standard
which
> defines TEXT representation of UTC, but this is not what is needed.
> 
> OpenVMS (from Digital Equipment) has defined a 128-bit representation of
UTC.
> However, it is not clear to which standards (if any) this representation

> adheres. 
> 
> Can anyone identify:
> 	1) On which standards the OpenVMS 128-bit representation is based.
> 	2) Any other (non-VMS) implementations of binary representation of UTC.
> 	3) Any existing or draft standards which address binary 
> 	   representation of UTC.
> 
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-05-19  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-08  4:00 UTC binary representation Jeffrey Gold
1996-05-09  4:00 ` Robert Koehler
1996-05-19  4:00 ` Michael Pettengill

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