API Reference@grafana/data › secondsToHms

rangeUtil.secondsToHms() function

rangeUtil.secondsToHms() function

Signature

export declare function secondsToHms(seconds: number): string;

Import

import { rangeUtil } from '@grafana/data';
const { secondsToHms } = rangeUtil;

Parameters

Parameter Type Description
seconds number

Returns:

string