Re: convert from Julian date to calendar date and vice verse [message #80718] |
Wed, 04 July 2012 08:19 |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
Stefan, Sorry I misinterpreted your post. You didn't say that daycnv.pro had the wrong zero point, but that numbers given by the OP were not Julian dates since they had the wrong zero point.
Khaled, to convert your numbers to Julian day you need to add JULDAY(1,1,1) = 1721424 to all your dates. But are you sure that your numbers are not *hours* rather than days since 1-1-1? If it is days then they refer to a year far in the future, but if they are hours then they refer to the year 2012.
--Wayne
On Tuesday, July 3, 2012 7:15:44 PM UTC-4, wlandsman wrote:
> My posts from a few hours ago don't seem to have shown up -- sorry if they appear twice
>
> daycnv.pro does not have the wrong zero point. It converts to Gregorian (not Julian) calendar day, and JD 0.0 corresponds to November 24 4713 BC in the Gregorian calendar.
>
> ( e.g. http://www.hermetic.ch/cal_stud/jdn.htm#comp ). Cheers, --Wayne
>
|
|
|
|
Re: convert from Julian date to calendar date and vice verse [message #80730 is a reply to message #80721] |
Tue, 03 July 2012 03:32  |
stefan.meingast
Messages: 30 Registered: June 2012
|
Member |
|
|
Am Montag, 2. Juli 2012 15:21:45 UTC+2 schrieb (unbekannt):
> Dear all,
>
> I have the following time units of "days since 1-1-1 00:00:0.0".
> 17619336. 17619360. 17619384. 17619408.
> 17619432. 17619456. 17619480. 17619504.
> 17619528. 17619552. 17619576. 17619600.
>
> I would like to convert them from Julian date to calendar date and
> vice verse.
> thanks in advance
> Khaled
you could use this:
http://idlastro.gsfc.nasa.gov/ftp/pro/astro/daycnv.pro
but be aware that your dates are not Julian dates since the zero-point is wrong. The ZP for the JD is
12:00 January 1, 4713 BC, Monday
and you will have to convert to this before you perform the conversion.
|
|
|
|