Skip to content

$creationDate

$creationDate will return the creation date of anything what was created within Discord.

Usage

$creationDate[resolver;format?]

Parameters

FieldTypeDescriptionRequired
resolvernumberUser Id, message Id, channel Id, guild Id or role Id of who or what you want to get the creation date to be returned of.true
format?stringThe format of the creation date (listed below).false

Format Input

FormatOutput
ms1522158545409
date3/27/2018, 1:49:05 PM
time4 years, 9 months, 6 days, 2 hours, 17 minutes, 33 seconds
time-full4 years, 9 months, 6 days, 2 hours, 17 minutes, 33 seconds
time-humanize4y 9mon 6d 2h 24m 30s

Example(s)

This will return your account create date:

1
client.command({
2
name: "creationDate",
3
code: `
4
Your account was created: $creationDate[$authorID;date]
5
`
6
});