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 #80727 is a reply to message #80704] Tue, 03 July 2012 05:35 Go to previous messageGo to previous message
k_ghreep is currently offline  k_ghreep
Messages: 19
Registered: May 2012
Junior Member
On Jul 3, 12:32 pm, Stefan <stefan.meing...@gmail.com> wrote:
> 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.

Hi Stefan,
I had tested your code for the following Julian day 17619600.D using
the following command
DAYCNV, 17628072.D, yr, mn, day, hr
I had got the following calendar date

43551 12 3 12.000000
please note that the time unit of "days since 1-1-1 00:00:0.0". how to
calculate the year in calender format?
Best wishes
Khaled
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: (more) Efficient way to generate an array whose elements are the distance from the center
Next Topic: include COI on wavelet plots using toolkit

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

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

Total time taken to generate the page: 0.00446 seconds