Summary
Convert epoch to object
Description
Converts an epoch time to object
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
epoch | number | yes | The epoch time to convert |
epochFormat | enum | yes | Allowed values are: [ Seconds, Milliseconds ] - epoch format |
newFormatString | string | no | Moment.js date-time format string. See https://momentjs.com/docs/#/displaying/format/ |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
convertedTime | object | The converted time |