DurationFromSeconds Method (Double, TimeStandard) | 
 
            Returns a 
Duration that represents the specified number of seconds using the
            specified time standard.
            
 
    Namespace: 
   AGI.Foundation.Time
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static Duration FromSeconds(
	double seconds,
	TimeStandard standard
)
Public Shared Function FromSeconds ( 
	seconds As Double,
	standard As TimeStandard
) As Duration
public:
static Duration FromSeconds(
	double seconds, 
	TimeStandard^ standard
)
static member FromSeconds : 
        seconds : float * 
        standard : TimeStandard -> Duration 
Parameters
- seconds
 - Type: SystemDouble
The number of seconds to be represented by the returned Duration. - standard
 - Type: AGI.Foundation.TimeTimeStandard
The time standard of the new Duration. 
Return Value
Type: 
DurationA 
Duration representing the specified number of seconds.
Exceptions
See Also