TimeSpanExtensions.SecondsAfter(this TimeSpan? time1, TimeSpan? time2) Method
.NET Standard 2.x
Determines the number of seconds one time occurs after another.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static int? SecondsAfter(this TimeSpan? time1, TimeSpan? time2);
Parameters
time1
System.TimeSpan
A TimeSpan value that is the start time of the interval being measured.
time2
System.TimeSpan
A TimeSpan value that is the end time of the interval.
Returns
System.Int32
Returns the number of seconds time2 occurs after time1. If time2 occurs before time1, SecondsAfter
returns a negative number. If any argument's value is null
, SecondsAfter
returns null
.
Examples
Coming soon.
Applies to
.NET Standard
2.x