|
TimeConvertTo Method
|
Converts the
Time to the specified
targetUnit.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic double ConvertTo(
TimeUnit targetUnit
)
Public Function ConvertTo (
targetUnit As TimeUnit
) As Double
public:
double ConvertTo(
TimeUnit targetUnit
)
member ConvertTo :
targetUnit : TimeUnit -> float
function ConvertTo(targetUnit);
View SourceParameters
- targetUnit TimeUnit
- Target units.
Return Value
DoubleTime 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