|
TimeConvertTo Method
|
Converts the
Time to the specified
targetUnit.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.266-beta+c6b78f50c57a6e00a35ffa6b1d344e516617d5cd
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