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.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
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