A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Others » Misc
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Formula for calculating Julian Dates



 
 
Thread Tools Display Modes
  #11  
Old September 14th 03, 10:26 PM
Vandija Sanoth
external usenet poster
 
Posts: n/a
Default

["Vandija Sanoth"; Sun, 14 Sep 2003 18:07:39 GMT]

I just have
one follow-up question.


I have a formula to compute the Julian date. What I really need now is a way
to compute the current UT time into the decimal numbers following the whole
date numbers. Can the decimal time-notation be reliably calculated
independent of the date, since it's only based on the time of day? I would
imagine that there is a simple formula. I'd sincerly appreciate any help.

(FYI, here the macro that gives me the Julian date:

macro InsertJulianDate()
{
int y, m, d, j;
GetDate(y, m, d);
j = d - 32075 + 1461 *(y + 4800 + (m - 14)/12)/4 + 367* (m -2 -
(m - 14)/12*12)/12 - 3*((y + 4900 + (m - 14)/12)/100)/4;
PutInt(j);
}

Now I just need the time too. Thanks!)
--
Vandija Sanoth )
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SR time dilation on remote objects ? Marcel Luttgens Astronomy Misc 560 September 30th 04 12:59 AM
formula for RA and declin of real sun, from geog coords and time? Neil Fernandez Astronomy Misc 10 May 3rd 04 08:35 PM
PDF (Planetary Distance Formula) explains DW 2004 / Quaoar and Kuiper Belt hermesnines Astronomy Misc 10 February 27th 04 02:14 AM
Limiting Magnitude in Binoculars edz Amateur Astronomy 52 October 9th 03 09:59 PM


All times are GMT +1. The time now is 05:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.