Noda Time
FromSeconds Method (seconds)
NamespacesNodaTimeDurationFromSeconds(Int64)
Returns a Duration that represents the given number of seconds.
Declaration Syntax
C#Visual BasicVisual C++
public static Duration FromSeconds(
	long seconds
)
Public Shared Function FromSeconds ( _
	seconds As Long _
) As Duration
public:
static Duration FromSeconds(
	long long seconds
)
Parameters
seconds (Int64)
The number of seconds.
Return Value
A Duration representing the given number of seconds.

Assembly: NodaTime (Module: NodaTime) Version: 1.0.0.0 (1.0.1)