DT_DateDiff

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Obsolete > DT (Date Handling) >

DT_DateDiff

 

This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.

 

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

EndDate

String

No

A valid date

TypeOfDifference

Number

No

The kind of difference. See DT Equates

 

Remarks

 

Restrictions

 

See also

 

Examples