NAnt SDK Documentation - v0.92 |

# TimeSpanFunctions.FromTicks Method

Returns a TimeSpan that represents a specified time, where the specification is in units of ticks.

[Visual Basic]
<Function(Name:="from-ticks")>
Public Shared Function FromTicks( _
ByVal value As Long _
) As TimeSpan
[C#]
[Function(Name="from-ticks")]
public static TimeSpan FromTicks(
long value
);

#### Parameters

value
  A number of ticks that represent a time.

#### Return Value

A TimeSpan that represents value.

#### See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace