Re: Julian Date Question [message #16306] |
Thu, 15 July 1999 00:00 |
Michael Werger
Messages: 34 Registered: May 1997
|
Member |
|
|
Andilu wrote:
>
> My lucky moon rock tells me it is 12:50 p.m. in Jolly 'ol England,
> yet when I check today's GMT Julian date, I get the following:
>
> print, systime(/julian)
> 2451373.7
>
> The "error" in the decimal point seems to amount to about 5 hours.
> If memory serves me, this "error" is explainable by RSI, but the
> explanation escapes me.
You probably now that there is an offset of 12 hours to make
the calculation with the julian date more convenient? But how
do you get the systime(/julian)? On Solaris IDL 5.1 it does not
work...: "keyword not allowed."
--
Michael Werger ------------o
ESA ESTEC & Praesepe B.V. |
Astrophysics Division mwerger@astro.estec.esa.nl|
| Postbus 299 http://astro.estec.esa.nl |
| 2200 AG Noordwijk +31 71 565 3783 (Voice)
o------------------- The Netherlands +31 71 565 4690 (FAX)
|
|
|
Re: Julian Date Question [message #16312 is a reply to message #16306] |
Wed, 14 July 1999 00:00  |
Harald Frey
Messages: 41 Registered: March 1997
|
Member |
|
|
Andilu wrote:
> My lucky moon rock tells me it is 12:50 p.m. in Jolly 'ol England,
> yet when I check today's GMT Julian date, I get the following:
>
> print, systime(/julian)
> 2451373.7
>
> The "error" in the decimal point seems to amount to about 5 hours.
> If memory serves me, this "error" is explainable by RSI, but the
> explanation escapes me.
>
> Can anyone help?
>
I checked it and for me it seems to work. However, my systime is set to
Pacific Daylight Savings Time and for it I get the true answer.
IDL> print,systime(),systime(/julian),format='(a30,f20.10)'
Wed Jul 14 13:41:39 1999 2451374.0705902777
Is your systime really set to Greenwich Time?
Harald
hfrey@ssl.berkeley.edu
|
|
|