Private jvm hosting - Returns the month name of a given month.
Returns the month name of a given month. For example, a month of 1 returns January or (if abbreviate is True) Jan. Rules at a Glance The default value for abbreviate is False. Example Public Function GetMonthName(dat As Date) As String Dim iMonth As Integer = Month(dat) GetMonthName = MonthName(iMonth) End Function Programming Tips and Gotchas month must be an integer; it cannot be a date. Use DatePart(”m”, dateval) to obtain a month number from a date. If month has a fractional portion, it is rounded before calling the MonthName function. MonthName with abbreviate set to False is the equivalent of Format(dateval, “mmmm”). MonthName with abbreviate set to True is the equivalent of Format(dateval,”mmm”). See Also WeekdayName Function MsgBox Function Class Microsoft.VisualBasic.Interaction Syntax MsgBox(prompt[, buttons][, title]) prompt Use: Required Data Type: String The text of the message to display in the message box dialog box buttons Use: Optional Data Type: MsgBoxStyle enumeration
Hint: This post is supported by Gama php5 hosting services