Re: time system? [message #10266] |
Tue, 04 November 1997 00:00 |
pgf
Messages: 1 Registered: November 1997
|
Junior Member |
|
|
On Fri, 31 Oct 1997 09:32:57 -0500, George McCabe <george.mccabe@gsfc.nasa.gov>
wrote:
> does anyone know what time system the number (-1334599710) belongs to?
> this number is the time stamp for data recorded October 22nd,1997 during
> daylight hours Central Daylight Time...
MacOS time convention: seconds since Jan 1, 1904, recorded as an unsigned
32 bit integer and interpreted as a 32 bit signed integer.
--
Dr. Peter G. Ford
Operations Manager, Geosciences Node
NASA Planetary Data System
<pds-requests@space.mit.edu>
|
|
|
Re: time system? [message #10272 is a reply to message #10266] |
Mon, 03 November 1997 00:00  |
John J. Boia
Messages: 5 Registered: November 1997
|
Junior Member |
|
|
On a previous project, we used negative time stamp
values to store data in reverse chronological order
in VAX/VMS indexed keyed-access files.
If the value you quoted is "negative" seconds elapsed
from some reference date, I calculate a reference date of
approximately 08 July 1955. If the value is seconds
until some future time, it works out to 05 Feb 2040.
Hope this helps...
David Foster wrote:
>
> George McCabe wrote:
>>
>> hello,
>>
>> does anyone know what time system the number (-1334599710) belongs to.
>>
>> this number is the time stamp for data recorded October 22nd,1997 during
>> daylight hours Central Daylight Time. though i can locate the time stamp
>> in the binary data, i do not have the code which wrote it. it's not
>> julian seconds, but by comparing consecutive data set i know that it is
>> a count up to some future date and time.
>
> George -
>
> Odd that the stamp is negative. Is it possible that the stamp was
> read using a signed integer when an unsigned integer was appropriate.
> Just fishing.
>
> Dave
> --
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
> David S. Foster Univ. of California, San Diego
> Programmer/Analyst Brain Image Analysis Laboratory
> foster@bial1.ucsd.edu Department of Psychiatry
> (619) 622-5892 8950 Via La Jolla Drive, Suite 2240
> La Jolla, CA 92037
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
--
John J. Boia | Email: jboia@iasdev1.gsfc.nasa.gov
Programmer/Analyst | Web: http://iasdev1.gsfc.nasa.gov/~jboia/
Computer Sciences Corp. | Phone: 301.794.2357
|
|
|