Click or drag to resize

TimeConvertTo Method

Converts the Time to the specified targetUnit.

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public double ConvertTo(
	TimeUnit targetUnit
)
View Source

Parameters

targetUnit  TimeUnit
Target units.

Return Value

Double
Time converted to targetUnit.
Remarks
When converting to Ticks, precision loss will occur for values that are outside the range of -2^52 and 2^52.
See Also