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

Home » Public Forums » archive » Time convertion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Time convertion [message #24131] Wed, 14 March 2001 08:52 Go to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Hi!

I have to convert some date formats, and I wonder why IDL does not give
more support here. A common date/time format is the seconds since 1970,
and the systime() funtion can return the current date in this format.
Yippie! But why is there no function to convert this from/to standard
ASCII date strings, or from/to Julian date?

I found such a thing in the Astro library, st2date, input is the
seconds-since-1970, output is year, month, day etc., and even day and
month in ASCII notation if one likes. Great. But I did not find
something yet to convert to seconds-since-1970. I could write it myself,
but I guess this already had be done some dozen times. Some big routine
with many, many keywords to convert between all those formats would be
nice :)

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Time convertion
Next Topic: regular expressions

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

Current Time: Wed Oct 08 20:10:11 PDT 2025

Total time taken to generate the page: 0.02483 seconds