MathUtilTimeToUnits Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Converts a given quantity of seconds to its
TimeUnit equivalent.
Thrown when the output_type
TimeUnit is not recognized.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static double TimeToUnits(
double seconds,
TimeUnit output_type
)
Public Shared Function TimeToUnits (
seconds As Double,
output_type As TimeUnit
) As Double
Parameters
- seconds
- Type: SystemDouble
The number of seconds for conversion. - output_type
- Type: Telogis.GeoBaseTimeUnit
Time units to convert to.
Return Value
Type:
DoubleThe
TimeUnit equivalent of
seconds.
See Also