Click or drag to resize
DfsExtensionsToSecondsFactor Method (eumUnit)
Returns a factor for converting from a time value in the specified time unit to a time value in seconds.

For month and year time units, the factor not uniquely defined, and may not return the value you want to use.

Namespace: DHI.Generic.MikeZero.DFS
Assembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public static double ToSecondsFactor(
	eumUnit timeUnit
)

Parameters

timeUnit
Type: eumUnit
Time unit

Return Value

Type: Double
Factor from unit to seconds
See Also