Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get month as word
Message
 
 
To
21/07/2000 00:56:53
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00395219
Message ID:
00395223
Views:
15
>I need to get the Month of a date as word format.
>Eg: if Month(Date) will return "7" (stands for July).
> but I want it to return "July" as instead of "7".

Try MonthName(Month(Date)). You can also pass in an optional parameter to return the month abbreviation MonthName(Month(Date),True).
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform