Re: Convert Month name to integer value
Posted: 7/21/2006 9:32:44 AM
By: Comfortably Anonymous
Times Read: 1,663
0 Dislikes: 0
Topic: Programming: .NET Framework
Parent Message
Why not use the following function:

MonthNo = Month("January 01, 2006")
Returns 1

MonthNo = Month("Jul 31, 2006")
Returns 7

MonthNo = Month("SEP 01, 2006")
Returns 9

Rating: (You must be logged in to vote)
Discussion View:
Replies:

Re: Convert Month name to integer value
Posted: 7/21/2006 9:32:44 AM
By: Comfortably Anonymous
Times Read: 1,663
0 Dislikes: 0
Topic: Programming: .NET Framework
Um, cause I was a stupid n00b to vb.net when I posted that. Re-invented several wheels every day. Could have built a fleet of semis with them and gotten rich!

Yes, your idea is far better, and far more clued in... :)
Rating: (You must be logged in to vote)