Skip to content

@gala-chain/chaincodeAPI


API > txUnixTimeToDateIndexKeys

Function: txUnixTimeToDateIndexKeys()

txUnixTimeToDateIndexKeys(txUnixTime): object

Parameters

txUnixTime: number

Returns

day

day: string

hours

hours: string

milliseconds

milliseconds: string

minutes

minutes: string

month

month: string

seconds

seconds: string

year

year: string

Source

chaincode/src/utils/utils.ts:118