Noda Time
FromSeconds Method (seconds)
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
static Duration FromSeconds(
	long long seconds
seconds (Int64)
The number of seconds.
Return Value
A Duration representing the given number of seconds.

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