$parseDate
$parseDate
$parseDate will return the date/time for the given milliseconds
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
ms | string | Time in ms you want to parse. | true |
type? | string | The type in which the parsed date will be returned in. | false |
Types
Type | Format |
---|---|
time | 1 years, 1 week, 6 days, 8 hours, 16 minutes, 20 seconds |
date | 1/1/2023, 8:16:20 AM |
Example(s)
This will return your current date in the date
format: