I have the following function in my code:
For some reason it doesn't like the "<= 3" part. When I hover over the blue squiggly line it says "XML Name Expected". What's the problem?Code:Private Function GetFiscalYear(ByVal dtDateTime As Date) As Integer
Dim intYear As Integer = DatePart(DateInterval.Month, dtDateTime)
Dim intMonth As Integer = DatePart(DateInterval.Year, dtDateTime)
If intMonth >=1 And <= 3 Then
GetFiscalYear = intYear + 1
Else
GetFiscalYear = intYear
End If
End Function

