Solved

Month Name VB Function

Posted on 2014-03-19
4
257 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

830 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