Navigation:  ThinBASIC Modules > DT (Date Handling) >

DT_DateDiff

Previous pageReturn to chapter overviewNext page

 

Description

 

Perform the difference between two dates.

 

Syntax

 

n = DT_DateDiff(StartDate As String, EndDate As String, TypeOfDifference As Number)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

StartDate

String

No

A valid date

EmdDate

String

No

A valid date

TypeOfDifference

Number

No

The kind of difference. See DT Equates

 

Remarks

 

Restrictions

 

See also

 

Examples