$year

Get the current year.

This command returns the current year based on the configured timezone (default is UTC).

Usage:

$year

Example:

Here's how to use the $year command in a Discord message:

Member07/29/2026
!!exec $year
Custom Command Bot 07/29/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