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

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com