comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: convert from Julian date to calendar date and vice verse
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: convert from Julian date to calendar date and vice verse [message #80718] Wed, 04 July 2012 08:19 Go to previous message
wlandsman is currently offline  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
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: vectors on map-- partvelvec?
Next Topic: Re: Upgrade IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:36:40 PDT 2025

Total time taken to generate the page: 0.00425 seconds