T
tkosel
Thought I had a handle on it, but guess not. This is my code.
Me.JulianExpirationDate = Format(DateAdd("yyyy", 5, Now()), "dd/mm/yyyy")
? me.JulianExpirationDate
08/02/2015
Me.JulianExpirationDate = Format(Me.JulianExpirationDate, "yy") &
Format(DatePart("y", Me.JulianExpirationDate), "000")
? me.JulianExpirationDate
15214
Shouldn't it be "15039"? What is wrong? Am I missing the whole idea of
Julian date. I realize there are many different methods to Julian date
calculation, some of which include time. but my method, garnered from
discussion group postings, derives it from the two date year of the specified
date,(15) and the day of the year (039).
Me.JulianExpirationDate = Format(DateAdd("yyyy", 5, Now()), "dd/mm/yyyy")
? me.JulianExpirationDate
08/02/2015
Me.JulianExpirationDate = Format(Me.JulianExpirationDate, "yy") &
Format(DatePart("y", Me.JulianExpirationDate), "000")
? me.JulianExpirationDate
15214
Shouldn't it be "15039"? What is wrong? Am I missing the whole idea of
Julian date. I realize there are many different methods to Julian date
calculation, some of which include time. but my method, garnered from
discussion group postings, derives it from the two date year of the specified
date,(15) and the day of the year (039).