FunctionsDate Functions
$year
Get the current year.
This command returns the current year based on the configured timezone (default is UTC).
Usage:
$yearExample:
Here's how to use the $year command in a Discord message:
Member
9/5/2026
!!exec $year
Custom Command
APP
9/5/2026
2021
Timezone Information
Date functions default to the UTC timezone. You can customize the timezone used by your commands. Learn More
Function Difficulty: Easy
Tags: Year