API Reference@grafana/datasecondsToHms

rangeUtil.secondsToHms() function

rangeUtil.secondsToHms() function

Signature

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

Import

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

Parameters

ParameterTypeDescription
secondsnumber

Returns:

string