Skip to content
Date & Time parseDate

$parseDate — Parses valid ms to a date

Parses valid ms to a date

Syntax

$parseDate[ms;type]

Parameters

  • ms (number, required) — The ms to convert to date
  • type (text, required) — The date type

Return Value

  • Date.

Usage

$parseDate[ms;type] → result

Example

$sendMessage[$parseDate[0;ISO]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.