Нет ничего встроенного, но вы можете использовать метод расширения:
<Extension()> _
Public Function IsBetween(theDate As DateTime, minDate As DateTime, maxDate As DateTime) As Boolean
Return theDate > minDate AndAlso theDate < maxDate
End Function
Тогда вы можете использовать это так:
If iCurrentDate.IsBetween(iStartDate, iEndDate) Then
Console.WriteLine("Current date is within the range.")
'Other Codes here
Else
Console.WriteLine("Current date is not in the range.")
'Other Codes here
End If
Или вот так:
Console.WriteLine(If(iCurrentDate.IsBetween(iStartDate, iEndDate), _
"Current date is within the range.", _
"Current date is not in the range."))