$dateStamp

Returns the current Unix timestamp (the number of milliseconds that have elapsed since January 1, 1970 UTC).

Usage: $dateStamp[Return in Seconds (Yes/No)]

This function allows you to retrieve the current timestamp in either milliseconds or seconds.

  • Return in Seconds (Yes/No): Specify whether you want the timestamp returned in seconds (enter Yes) or milliseconds (enter No or leave blank).

Example:

Member04/23/2025
!!exec $dateStamp, $dateStamp[yes]
Custom Command Bot 04/23/2025
1630841854895, 1630841854

In this example, the first $dateStamp call returns the timestamp in milliseconds, while the second $dateStamp[yes] call returns the timestamp in seconds.

Function Difficulty: Easy
Tags: return time milliseconds