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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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