|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
["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 | |
|
|
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 |