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

Home » Public Forums » archive » TIME2JD
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: TIME2JD [message #92689 is a reply to message #92687] Mon, 08 February 2016 09:41 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 2/8/16 4:46 AM, greg.addr@googlemail.com wrote:
>
> If you don't care about the day (e.g. if all your times come from the
> same day), then pick an arbitrary month, day, year, and use this:
>
> Result = JULDAY(Month, Day, Year, Hour, Minute, Second)
>

Just to be clear about this, you could calculate a Julian day given an
arbitrary date, but then only the fractional part of that Julian day
would be useful (and you would probably want to subtract 0.5 as well).

I'm not sure why any of that would be useful though. The Julian day is a
number of days from a specific time in the past. Are you just trying to
calculate the fractional day for a given time?

In any case, for a basic explanation, check the IDL documentation for
JULDAY and Wikipedia:

https://en.wikipedia.org/wiki/Julian_day

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Removing lib/obsolete directory from one's !PATH
Next Topic: AIRMASS

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

Current Time: Wed Oct 08 13:58:08 PDT 2025

Total time taken to generate the page: 0.00472 seconds