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 #39898] Tue, 15 June 2004 04:43 Go to previous message
Thomas Ohde is currently offline  Thomas Ohde
Messages: 10
Registered: November 2000
Junior Member
"Thomas Ohde" <thomas.ohde@io-warnemuende.de> schrieb im Newsbeitrag
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
>
>

I have found a further solution.
How about this:

IDL> excel = 38141.49792d
IDL> caldat, 2415018.5 + excel,month,day,year,hour,min,sec
IDL> print, month,day,year,hour,min,sec
6 3 2004 11 57 0.28799951

Thomas
[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 06:56:10 PDT 2025

Total time taken to generate the page: 2.31998 seconds