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 #89710 is a reply to message #89709] Wed, 19 November 2014 06:22 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
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
[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 13:37:04 PDT 2025

Total time taken to generate the page: 0.00510 seconds