User Tools

Site Tools


syntax:functions:monthname

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

ArgumentTypeDescription
month_numNumberA number representing a month, from 1 to 12.

Return value type: Text (Jan, Feb, Mar, etc.)


Examples

monthname(1)  //Returns 'Jan'
monthname(9)  //Returns 'Sep'


See also

syntax/functions/monthname.txt · Last modified: 2021/09/10 22:46 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki