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.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
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