7 th Jul 2022 06:42:28
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
WeekDayName Function WeeDayName Function
Date Time Functions Date Time Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

MonthName Function - Visual Basic 6.0 (VB 6.0)

Returns a string indicating the specified month.
Syntax:
MonthName(month, [abbreviate])
Parameter Description
month Required. A number from 1 through 12that indicates a month of the year.
abbreviate Optional. Boolean value that indicates if the month name is to be abbreviated.
Default value False.


Return Data type:
String
Example:

Statement Result Remark
MonthName(Month(Date)) Current MonthName
MonthName(Month(Date), True) Abbreviation
MonthName(2)  
MonthName(Month(#Feb 28 1990#))  
MonthName(1)  
MonthName(unknown) Error Invalid procedure call or ...
MonthName(Null) Error Invalid use of Null
MonthName("abcd") Error Type mismatch
MonthName(True) Error Invalid procedure call or ...
MonthName(False) Error Invalid procedure call or ...
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  MonthName Function in VB Script (VBS)
  MonthName Function in JScript (JS)
  MonthName Function in ASP (Active Server Page)
  MonthName Function in PHP Script
  MonthName Function in MS-Access
  MonthName Function in MS SQL Server
  MonthName Function in Oracle
  MonthName Function in C Language
  MonthName Function in C++ Language
  MonthName Function in Foxpro
  MonthName Function in Fortran
  MonthName Function in MS Excel Sheet
Go to top
 





© 2021 Chennaiiq.com. All Rights Reserved.

3423