Duration FromSeconds Method Noda Time
Returns a Duration that represents the given number of seconds.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public static Duration FromSeconds(
	long seconds
)

Return Value

Type: Duration
A Duration representing the given number of seconds.
Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also