$parseDate

Converts milliseconds into a human-readable date or time format.

Usage: $parseDate[milliseconds; format]

Arguments:

  • milliseconds: The number of milliseconds to convert.
  • format: Specifies the desired output format. Use date to get a formatted date or time to get a formatted time duration.

Example:

This example demonstrates converting 1000 milliseconds to a time duration.

Member04/23/2025
!!exec $parseDate[1000;time]
Custom Command Bot 04/23/2025
1 second

Explanation:

The command $parseDate[1000;time] converts 1000 milliseconds to a time format, resulting in the output "1 second".

Function Difficulty: Easy
Tags: convert date milliseconds