convertLong

Converts an array with days, hours, minutes and seconds to a string with days, hours, minutes and seconds

public convertLong(converted: number[]): string

  • converted: an array with numbers on it, following the format [days, hours, minutes, seconds]

const time = client.convertLong([5, 2, 30, 42])

Last updated

Was this helpful?