Convert a Date to a Julian Date (one-line function)
Category:
Dates and MathType:
SnippetsDifficulty:
BeginningAuthor:
Bill AcorVersion Compatibility: Visual Basic 6, Visual Basic 5, Visual Basic.NET
More information:
Just pass a date to this function and it returns a fully developed Julian Date (data type long). VB.NET/ASP.NET compatible.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: