TimeSpanFromTicks

Name

Proper

Applicable To (DataType)

Int64

Purpose

To convert ticks into a TimeSpan

Description

Returns the converted timeSpan using the ticks.

Return Type

TimeSpan

Syntax

timeSpan [System.TimeSpan] – TimeSpan for which the number of ticks will be returned

Example

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

Where,

ticks = 9749240000000

In the output window, you can see that the Integer value indicating Ticks has been converted into a TimeSpan value, present in the timespan value.

Last updated

© Copyright 2023, Astera Software