Solved

Month Name VB Function

Posted on 2014-03-19
4
271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Six Sigma Control Plans

623 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