Julian dates

  • Thread starter Thread starter Talltrees
  • Start date Start date
Tools>Options>Calculation and select 1904 Date system checkbox.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Hi Talltrees!

If by Julian dates you mean the day number in the year, you need to
use a formula:

=A1-DATE(YEAR(A1)-1,12,31)

But if you are referring to the correct definition use:

=IF(MOD(A1,1)<0.5,A1+2415018,A1+2415019)

Julian Dates start at 12:00 Noon and are number of days from
1-Jan-4173 BCE (Julian Calendar)


--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 
Thanks for the information. I did not know Julian meant the Julian Calendar.
I have a sheet that tells me the day number in the year, but I thought a
spreadsheet I used in the past had it in formating. Thanks again.
 
Hi Talltrees!

There's no format that gives you the day number of the year, other
than dd which would only work for the month of January. We don't even
have a built in or Analysis ToolPak function. You could use the UDF to
get the day in the year:

Function DAYINYEAR(DateForNumber As Date) As Integer
DAYINYEAR = DateForNumber - DateSerial(Year(DateForNumber), 1, 0)
End Function

Maybe one of the other spreadsheet programs has it as a format or
function.

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 
Back
Top