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

Home » Public Forums » archive » Re: Julian Day Question
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: Julian Day Question [message #48870 is a reply to message #48869] Fri, 26 May 2006 09:53 Go to previous messageGo to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
> JULDAY(5,26,2006, 0,0,0)
> JULDAY(5,26,2006)

My 2cents, to quote buffy, "It doesn't matter".

I always start with a modern date string, then convert
to JD to do all the processing, etc, and then convert
back to strings for output/ plotting etc. What the
dates convert to doesn't matter, as long as one is consistent
(i always input hours minutes and seconds.)

It seems to me the "problem" is between an integer day, and
a much more precise millisecond representation.
If someone asks what day number today is (of this month)
people will say the 26th. No one will say the 26.4486th.
However, if someone wants the exact time of this post, then
you would say it was posted on May 26.4486th MT.

I do admit though, that knowing that the julian day is actually
noon twelve hours earlier is a nice little secret to have.

Anyways, the conclusion should be:
always be consistent
(simply saying "be consistent" doesn't seem redundant enough)

Cheers,
bob

PS I'd put an n_params() check on the
julday function wrapper if I were me (to ensure
hours minutes and seconds were always passed).
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Performance Issues going to IDL 6.2 on Windows?
Next Topic: Re: Problems with the Windows IDE

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

Current Time: Wed Oct 08 17:29:54 PDT 2025

Total time taken to generate the page: 0.00467 seconds