Convert Julian Dates to Decimal

  • #1
472
14

Homework Statement


There's an example problem in Astrophysics textbook that involves calculating T (time elapsed since last reference date as a decimal)
the date is July 30, 2005 at noon. and the reference date is Jan 01, 2000 at noon. the calendar starts on Jan 01, 2000 so that it is just 2000

the example problem gave the date as 2005.575

Homework Equations


the formula is T = (t - JD2000) / 100 where t is today's date expressed as a decimal

The Attempt at a Solution


I have tried taking July 30 as the 211 day in the year and divided it by 365.25. this gave me .578
I have tried adding 1.25 days to 211 (quarter day for 2000, 2001, 2002, 2003, and 2004) and dividing that by 365.25. ===.5811
I have tried adding 1.25 + the fraction of .25 up until 211 days for 2005 and got .5815.

I have tried a variety of things. I worked backwards from .575 and found that in order to get this figure, I have to divide 211 days by 367.

Maybe the textbook just rounded weird. or maybe there is some formula I'm supposed to be using to calculate this correctly. and if I don't have that formula, I will make fatal errors in later calculations.
Please help me.
 

Answers and Replies

  • #2
phyzguy
Science Advisor
4,742
1,675
July 30 is the 211th day of the year, so the interval from July 30 back to Jan 1 is just 210 days. January 2 is the second day of the year, and the elapsed time from Jan 1 to Jan 2 is just 1 day. If you take 210/365.25, you get 0.575.
 
  • Like
Likes grandpa2390
  • #3
472
14
July 30 is the 211th day of the year, so the interval from July 30 back to Jan 1 is just 210 days. January 2 is the second day of the year, and the elapsed time from Jan 1 to Jan 2 is just 1 day. If you take 210/365.25, you get 0.575.
D'OH! :doh:
I love when the solution is so simple for once. Thanks!
 

Related Threads on Convert Julian Dates to Decimal

Replies
5
Views
5K
  • Last Post
Replies
20
Views
3K
  • Last Post
Replies
2
Views
794
  • Last Post
Replies
4
Views
2K
Replies
7
Views
2K
  • Last Post
Replies
2
Views
558
Replies
3
Views
1K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
5
Views
2K
Top