Julian Day of The Year

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


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)
  5. Return Convert.ToString(d)
  6. End Function

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.