Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Timestamp

Handles the conversion of timestamps received from the Discord API into UNIX timestamps

Hierarchy

  • Timestamp

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Timestamp(date: string | number | Date | undefined): Timestamp

Properties

date

date: string | undefined

The ISO date of this timestamp

Accessors

iso

  • get iso(): string | undefined

Methods

unix

  • unix(): number | undefined

Generated using TypeDoc