Hi. I want a page that works out what the Julian date is. There are lots of examples on the web, but all are a bit complicated. A good one is -
However, all I want to do is work out the day, not the year. For example the 10 March would be day 069 (it is the 69th day of the year) I am assuming it is not a leap year.
I know i need to create a form where the user enters the date he /she wants converted and then use Javascript to do the conversion. I basically need the code to work out what month it is then add the days of all the previous month + the day of the current month. I would also like it to work the other way round, so the user can identify the real day from the Julian code.
I am getting quite confused, and if anyone could offer advice, I would be very happy
Thanx guys !
However, all I want to do is work out the day, not the year. For example the 10 March would be day 069 (it is the 69th day of the year) I am assuming it is not a leap year.
I know i need to create a form where the user enters the date he /she wants converted and then use Javascript to do the conversion. I basically need the code to work out what month it is then add the days of all the previous month + the day of the current month. I would also like it to work the other way round, so the user can identify the real day from the Julian code.
I am getting quite confused, and if anyone could offer advice, I would be very happy
Thanx guys !