Hi all,
Currently use below code get Month number
how can i get Month name in the format MMMYY usinf similar function
Any help......
Public Function GetColumnHeading(ByVal x As Integer)
Dim WeeksArr As New System.Collections.ArrayList()
Dim i As Long
Dim CurrentWeek As Long
CurrentWeek = DatePart(DateInterval.MONTH, System.DateTime.Now)
For i = 1 To 12
WeeksArr.Add(-1 + (i + CurrentWeek - 1) Mod 12)
Next
Return WeeksArr(x)
End Function