Custom Command
FunctionsDate Functions

$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.

Member
9/5/2026
!!exec $parseDate[1000;time]
Custom Command
APP
9/5/2026
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

On this page