TimeSpanFunctions.

FromDays(double) Method

Summary

Returns a System.TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
TimeSpanFunctions

Syntax

[Function("from-days")]
public static TimeSpan FromDays(double value)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
value double A number of days, accurate to the nearest millisecond.

Return Value

Type Description
TimeSpan A System.TimeSpan that represents value.