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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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