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

Home » Public Forums » archive » Re: dates transformation
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: dates transformation [message #39899 is a reply to message #39898] Tue, 15 June 2004 03:12 Go to previous messageGo to previous message
tam is currently offline  tam
Messages: 48
Registered: February 2000
Member
"Thomas Ohde" <thomas.ohde@io-warnemuende.de> wrote in message news:<40ce8f97$1@news.uni-rostock.de>...
> Hi,
>
> I have given dates like 38141.497920 and I can transform this with Excel
> into: 03.06.2004 11:57. I found in the help that this is the 1900 date
> format.
>
> How can I transform these dates in both direction with IDL? Is there any
> function in IDL?
>
>
> Thanks a lot,
> Thomas

Take a look at the JULDATE, JDCNV and DAYCNV routines in the idlastro library
at idlastro.gsfc.nasa.gov. These do pretty much what you want except
that they have a different zero point. You'll have to add or subtract
a constant offset to get 0 to be 1900.000.

Regards,
Tom McGlynn
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: getpid in Mac OS X
Next Topic: Two little questions

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

Current Time: Sat Oct 11 14:43:07 PDT 2025

Total time taken to generate the page: 1.35562 seconds