Skip to main content

accounts.utils.timestamp

@bosonprotocol/core-sdk / Exports / accounts / utils / timestamp

Namespace: timestamp

accounts.utils.timestamp

Table of contents

Variables

Functions

Variables

HOURS_PER_DAY

Const HOURS_PER_DAY: 24

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:2


MIN_PER_HOUR

Const MIN_PER_HOUR: 60

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:3


MSEC_PER_DAY

Const MSEC_PER_DAY: number

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:10


MSEC_PER_HOUR

Const MSEC_PER_HOUR: number

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:9


MSEC_PER_MIN

Const MSEC_PER_MIN: number

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:8


MSEC_PER_SEC

Const MSEC_PER_SEC: 1000

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:5


SEC_PER_DAY

Const SEC_PER_DAY: number

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:7


SEC_PER_HOUR

Const SEC_PER_HOUR: number

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:6


SEC_PER_MIN

Const SEC_PER_MIN: 60

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:4

Functions

msToSec

msToSec(ms): number

Parameters

NameType
msBigNumberish

Returns

number

Defined in

node_modules/@bosonprotocol/common/dist/cjs/utils/timestamp.d.ts:11