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

Home » Public Forums » archive » How to convert Julian date into Gregorian date format in IDL?
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: How to convert Julian date into Gregorian date format in IDL? [message #89712 is a reply to message #89711] Wed, 19 November 2014 09:33 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mick.mitanirc3@gmail.com writes:

>
> On Wednesday, November 19, 2014 7:34:46 AM UTC-6, Muhammad Hasan wrote:
>> Hi All!
>> I have a little problem in IDL. How to calculate Gregorian date in IDL from Julian date? For example I have Julian date 335 and I want to get yyyymmdd format. How to get it?
>>
>> Regards,
>>
>> Hasan
>
> While systime works great for today, when I am working with other julian day values and need to convert them I use the JD2DATE program. Originally from John Hopkins it can be found at Exelis along with many other JHU/APL routines. Check out http://www.exelisvis.com/docs/jd2date.html

If you have the Coyote Library installed (I why wouldn't you?), you can
used cgJulian2Date to do this, too. There are 21 different data formats
you can choose to use.

http://www.idlcoyote.com/idldoc/cg/cgjulian2date.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reversing y-axis using label_date
Next Topic: gray-level co-occurrence matrix (GLCM)

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

Current Time: Wed Oct 08 18:59:23 PDT 2025

Total time taken to generate the page: 0.00398 seconds