Julian Day of The Year


/ Published in: VB.NET
Save to your folder(s)

http://msdn.microsoft.com/en-us/library/system.globalization.juliancalendar.getdayofyear(v=vs.90).aspx


Copy this code and paste it in your HTML
  1. Private Function GetJulianDate() As String
  2. Dim jd = New JulianCalendar
  3. Dim d As Integer = jd.GetDayOfYear(DateTime.Now)
  4.  
  5. Return Convert.ToString(d)
  6. End Function

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.