Posted By

jsturtevant on 01/19/12


Tagged

date julian


Versions (?)

Julian Day of The Year


 / Published in: VB.NET
 

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

  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  

You need to login to post a comment.