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

Home » Public Forums » archive » Julian Dates...Again
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Julian Dates...Again [message #53765] Tue, 01 May 2007 10:31
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

OK, I don't have time for this today... :-(

Suppose I have a time string: "2007118".
The first four digits are the year. The last
three digits are the day of the year. (e.g.,
Jan 10, 2007 is 010 and Feb 1, 2007 is 032, etc.)

I can't seem to put my hands on a function that will
convert the day of the year to a month and day value,
so that I can create a Julian number with JULDAY.
(Although I can imagine I have written such a thing in
the past. All I have to do is find that damn formula
for leap year processing and...)

Does anyone have one of these do-hickeys available?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FL's of the World, Unite!
Next Topic: Re: Julian Dates...Again

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

Current Time: Wed Oct 08 15:13:21 PDT 2025

Total time taken to generate the page: 0.00518 seconds