Solved

Month Name VB Function

Posted on 2014-03-19
4
251 Views
Last Modified: 2014-03-26
Is there a function in VB the will return the text month name from a date (mm/dd/yyyy)?
0
Comment
Question by:JudithARyan
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Ken Butters earned 250 total points
ID: 39940185
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
 

Author Comment

by:JudithARyan
ID: 39940736
Thanks!

Judith
0
 
LVL 19

Expert Comment

by:Ken Butters
ID: 39940892
-You're welcome.

Just don't forget to award the points if you are satisfied with the answer.
0
 

Author Closing Comment

by:JudithARyan
ID: 39957069
Thanks for your prompt answer!

Judith
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
topping3 challenge 14 69
Non-recursive backtracking, using a stack 1 98
Counting documents in a Domino View 3 62
C# application error "Parameter Is Not Valid". 3 79
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now