Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Julin Dates

Status
Not open for further replies.

ryan1

Programmer
May 15, 2002
106
US
Does anybody know how to change a date to a Julin Date??I Need Some Help
 
Public Function JulianDate(MyDate As Variant) As Long


MyDate = Forms!MyForm![Date Generated]
If IsNull(MyDate) Then Exit Function
JulianDate = Right$("000" & DatePart("y", MyDate), 3)

End Function
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top