syntax:functions:monthname
This is an old revision of the document!
Table of Contents
MonthName(month_num)
Category: Date and Time function
Description
This function returns the abbreviated (3-letter) name of the month corresponding to the month_num, from 1 to 12.
Arguments
Argument | Type | Description |
---|---|---|
month_num | Number | A number representing a month, from 1 to 12. |
Return value type: Text (Jan, Feb, Mar, etc.)
Remarks
Passing in a value of less than 1, or greater than 12, results in an error message.
Examples
monthname(1) //Returns 'Jan'
monthname(9) //Returns 'Sep'
monthname(0) //Returns '#Inappropriate argument for MonthName(number)'
See also
syntax/functions/monthname.1631326560.txt.gz · Last modified: 2021/09/10 22:16 by craigt