$formatMS
Formats provided milliseconds into a readable date.
Usage
$formatMS[milliseconds;format]Field
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$formatMS[$getTimestamp]` //Returns the current date. For example, October 25th 2021.
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$formatMS[$getTimestamp;October 25th 2021, 11:39:50 pm]` //Returns the current date. For example, October 25th 2021, 11:39:50 pm.
})Last updated
Was this helpful?