|
TargetTimeUnitToTimeUnits Method
|
Scales a time, in seconds, to the specified units.
Namespace: GrafanaAdapters.FunctionsAssembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.218-beta
Syntax GrafanaAdapters.Functions.TargetTimeUnit.ToTimeUnits = function(value, units);
View SourceParameters
- value Double
- The time, in seconds, to convert.
- units TargetTimeUnit
- The target time units, which includes scaling factor, for the conversion.
Return Value
DoubleA double value that represents the converted and scaled time, in the specified units.
See Also