Custom Command
FunctionsDate Functions

$hour

This command returns the current hour (in 24-hour format).

Usage

$hour

Example:

This example shows how to use the $hour command in a custom command.

Member
9/5/2026
!!exec $hour
Custom Command
APP
9/5/2026
19

Timezone Considerations

Date functions use the UTC timezone by default. You can change the timezone for your bot. Learn More

Function Difficulty: Easy

Tags: Hour

On this page