Skip to main content
Timespan custom database field. Number of minutes, represented as days/hours/minutes.

Constructors

NSFieldInfoTimeSpan()

Initializes a new instance of the NSFieldInfoTimeSpan class.

Methods

GetDefaultValue()

Returns: CRMScript.Global.Integer - Default TimeSpan value, number of minutes. Example:

GetUseDays()

Returns: CRMScript.Global.Bool - Should the time-span be counted in days? Example:

GetUseHours()

Returns: CRMScript.Global.Bool - Should the time-span be counted in hours? Example:

GetUseMinutes()

Returns: CRMScript.Global.Bool - Should the time-span be counted in minutes? Example:

SetDefaultValue(Integer)

Returns: CRMScript.Global.Void Example:

SetUseDays(Bool)

Returns: CRMScript.Global.Void Example:

SetUseHours(Bool)

Returns: CRMScript.Global.Void Example:

SetUseMinutes(Bool)

Returns: CRMScript.Global.Void Example: