'Original line of code I am trying to rework so it will function 'Y = Year(ThisDate) + CDbl(ThisDate - DateSerial(Year(ThisDate), 1, 1)) / 365.25 Dim JanuaryFirst As DateTime = New DateTime(ThisDate.Year, 1, 1) Dim tdiff As TimeSpan = ThisDate - JanuaryFirst Dim ddiff As Double = tdiff.TotalDays / 365.25 '188 / 365.25 Dim resultDate As DateTime = JanuaryFirst.AddDays(ddiff) Dim strDDiff As String = ddiff.ToString Dim intIdx As Int16 intIdx = strDDiff.IndexOf(".") strDDiff = strDDiff.Substring(intIdx, strDDiff.Length - 1) Y = ThisDate.Year.ToString & strDDiff