Re: VIP, Julday [message #31146] |
Mon, 10 June 2002 06:39 |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
Wolfgang Koppe wrote:
>
> Dear members,
>
> I would like to convert ASCII files with dates like
> (2000,11,6,12,35,12) into the Julian Day Number (1784489.0). I tried
> it with programm VIP, but it does not work. Perhaps somebody has an
> idea how it works into the programm VIP or in the IDL - language.
>
> Thanks.
> Wolfgang Koppe
Use the JULDAY function. To determine the true Julian Day Number for
2000-11-06T12:35:12Z, call JULDAY(11,6,2000,12,35,12). The wierd
position of the 'year' argument is probably due to the inconsistent US
convention for writing out dates. That function call will give you the
correct value, which is 2451855.02444. Where did you get the 1784489.0
from? That corresponds to 0173-08-31T12.
|
|
|