[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

Month Name VB Function

Is there a function in VB the will return the text month name from a date (mm/dd/yyyy)?
0
JudithARyan
Asked:
JudithARyan
  • 2
  • 2
1 Solution
 
Ken ButtersCommented:
MonthName takes a month integer
Month returns the month integer...

so combining them should give you what you are looking for.

The 2nd parameter true/false tells whether to abbreviate the month name or not.

textMonthName = MonthName(Month(thisDate),true)
0
 
JudithARyanAuthor Commented:
Thanks!

Judith
0
 
Ken ButtersCommented:
-You're welcome.

Just don't forget to award the points if you are satisfied with the answer.
0
 
JudithARyanAuthor Commented:
Thanks for your prompt answer!

Judith
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now