al4629740
asked on
function for getting value of a month - vb6
In VB6 is there a function that returns the value of what month it is?
For example
January would equal 1 and February would equal 2, etc...
For example
January would equal 1 and February would equal 2, etc...
ASKER
Month(January) returns 1?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm glad I was able to help.
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
So you can use Month(Now) to get the month of the current date.