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 #48874 is a reply to message #48873] Fri, 26 May 2006 07:17 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mike Wallace writes:

> I should have added that I always specify hours minutes and seconds when
> working with julday() for this very reason and because I specify the
> time within the day, I get what I expect. Come to think of it, julday()
> without the hours minutes and seconds also gives me what I expect

I'm going to think of it like this, which makes a weird
kind of sense to me:

If you specify ONLY a year, month, and day (in whatever
mixed up order you like [who wrote JULDAY, anyway!!]) then
clearly you must be concerned with a calendar DATE. So
having JULDAY return the date of the day that really
started at midnight is OK with me.

However, if you also specify the hour, minute, and second,
you must clearly be an astronomer (who else would care!?)
and JULDAY will return the astronomically correct Julian Day.

At least this is something I can remember...maybe.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[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 15:21:28 PDT 2025

Total time taken to generate the page: 0.00426 seconds