Milliseconds

Milliseconds (TimeSpan timeSpan)

Name

Milliseconds

Syntax

Milliseconds (TimeSpan timeSpan)

Purpose

To return the Milliseconds component of the specified timeSpan.

Description

Returns Milliseconds component of the specified timeSpan.

Return Type

Int64

Parameter

timeSpan [System.TimeSpan] – TimeSpan for which the Milliseconds component will be returned

Example

In this example, we will pass the required parameter to the function transformation object using a Variables object.

Where,

timeSpan = 05:04:03:02.120

In the output window, you can see that the provided value’s Milliseconds component has been returned.

© Copyright 2023, Astera Software