Seconds
Last updated
Last updated
© Copyright 2023, Astera Software
Example
In this example, we will pass the required parameter to the function transformation object using a Variables object.
Where,
timeSpan = 10.03:02:04 (Format: dd.hh:mm:ss)
In the output window, you can see that the provided value’s Seconds component has been returned.
Name
Seconds
Syntax
Seconds (TimeSpan timespan)
Purpose
To return the Seconds component of the specified timeSpan.
Description
Returns Seconds component of the specified timeSpan.
Return Type
Int64
Parameter
timeSpan [System.TimeSpan] – TimeSpan for which the Seconds component will be returned