Hi,
I am tuning my knowlegde of Date and Times, but why doesn't this work
also, using the array, I noticed after 10 entries the array was looking to close, highlighting October, November and December as errors.
No major deal, but annoying nevertheless as I am trying to learn VB.net
Thanks, Simon.
I am tuning my knowlegde of Date and Times, but why doesn't this work
VB.NET:
Dim now1=DateAndTime.Now
Dim month As Integer = now1.Month
'creates an array to determine the month name
Dim montharray() As String = {"January", "February", "March", "April", "May", "June", "July", "August", "September, "October", "November", "December"}
TextBox1.Text = montharray(month)
also, using the array, I noticed after 10 entries the array was looking to close, highlighting October, November and December as errors.
No major deal, but annoying nevertheless as I am trying to learn VB.net
Thanks, Simon.