Re: How to convert Julian date into Gregorian date format in IDL? [message #89722 is a reply to message #89710] |
Thu, 20 November 2014 01:28   |
Muhammad Hasan
Messages: 8 Registered: November 2014
|
Junior Member |
|
|
On Wednesday, November 19, 2014 10:22:09 PM UTC+8, Mike Galloy wrote:
> On 11/19/14, 6:34 am, 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
>>
>
> IDL> julday = systime(/julian)
> IDL> print, string(julday, format='(C(CYI04, CMOI02, CDI02))')
> 20141119
>
> --
> Michael Galloy
> www.michaelgalloy.com
> Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
> Research Mathematician
> Tech-X Corporation
Thanks a lot dear Dr. Galloy. You mean it will convert my julian date 213 for 2010 into August 1, 2010?
Regards,
|
|
|