Convert a Date to a Julian Date (one-line function)
Category:Dates and Math
Version Compatibility: Visual Basic 6, Visual Basic 5, Visual Basic.NET
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.