/ Published in: VB.NET
http://msdn.microsoft.com/en-us/library/system.globalization.juliancalendar.getdayofyear(v=vs.90).aspx
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Private Function GetJulianDate() As String Dim jd = New JulianCalendar Dim d As Integer = jd.GetDayOfYear(DateTime.Now) Return Convert.ToString(d) End Function