Click or drag to resize
Grid Solutions Framework

TargetTimeUnitToTimeUnits Method

Scales a time, in seconds, to the specified units.

Namespace: GrafanaAdapters.Functions
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.207-beta
Syntax
public static double ToTimeUnits(
	double value,
	TargetTimeUnit units
)
View Source

Parameters

value  Double
The time, in seconds, to convert.
units  TargetTimeUnit
The target time units, which includes scaling factor, for the conversion.

Return Value

Double
A double value that represents the converted and scaled time, in the specified units.
See Also