FunctionsDate Functions
$month
Returns the current month's number or name.
Usage
$month[return name (yes/no)]This function allows you to retrieve the current month in either its numerical representation (1-12) or its full name (e.g., January, February).
- If you use
$monthwithout any parameters, it will return the month's number. - If you use
$month[yes], it will return the month's name. Any value other thanyesor no parameter will return the month's number.
Example:
Member
9/5/2026
!!exec $month, $month[yes]
Custom Command
APP
9/5/2026
11, November
Explanation:
- The first
$monthreturns the numerical representation of the current month (in this case, 11 for November). - The second
$month[yes]returns the name of the current month (November).
Timezone Information
Date functions default to using the UTC timezone. You can change the timezone used by the bot. Learn More
Function Difficulty: Easy
Tags: Month