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

Home » Public Forums » archive » Time Woes
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: Time Woes [message #30557 is a reply to message #30471] Thu, 02 May 2002 06:38 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ben Tupper (btupper@bigelow.REMOVE.org) writes:

> Do you mean that you want to know a Julian time stamp or Calendar date
> for the time array values? I don't have IDL in front of me right now
> so I can't check this, and I can't clearly recall the syntax.
>
> (The following supposes the 'seconds' are just the run-of-the-mill
> kind of seconds...)
>
> ; start time in seconds
> t0 = JulDay( 0,1 1980, 0, 0, 0)
> ; add the elapsed time since t0
> t[i] = t0 + timeArray[i]
> ;convert to calendar values
> CalDat, t[i], month, day, year, hour, min, sec
>
> I have a sneaky feeling that your problem is more complicated than
> this solution will bridge. The only thing I do well with time (in
> IDL) is squander it, but I hope it helps anyway.

I think what I want is something about as simple as
this. I was in a panic yesterday because I had
bid on that job as a project, rather than on an hourly
basis, and it suddenly occurred to me that I was earning
less as an IDL programmer than I was earning as a tennis
coach. The idea of explaining *that* to my wife left me
in a cold sweat. Sorry for taking it out on the newsgroup. :-(

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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: default window size
Next Topic: Call_External and referenced symbol not found

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

Current Time: Fri Nov 28 17:20:52 PST 2025

Total time taken to generate the page: 0.00235 seconds