dates to month

lipin

Registered User.
Local time
Today, 23:14
Joined
May 21, 2002
Messages
149
What is the easiest way to fill in a month textbox based on a date entered in a date textbox?

For instance, if the date entered is 1/15/03 then the month textbox should fill with January, if date is 2/7/03 then month = February etc. etc.

Should I use if statements or select case or something else? And could you please get me started on the syntax.

Thanks a lot.
 
Use the function month(txtDate)
 

Users who are viewing this thread

Back
Top Bottom