Skip to main content
Skip table of contents

f$DateCompare (f$Datumsvergleich)


f$DateCompare (f$Datumsvergleich)

Calculate the number of days between two given date entries. If one of the two date entries is invalid, then -9999 is returned.

Syntax:

days = f$DateCompare(Date1,Date2)

 

Argument

Type

Meaning

 

Date1

String

Given date1

 

Date2

String

Given date2

Result:

Integer

Number of days between date1 and date2
Date1 - Date2 is calculated

Examples:

days = f$DateCompare('15.06.2004 ','29.05.2004 ')

Result: days = 17
days = f$DateCompare('15.06.2004 ','15.6.04 ')

Result: days = 0

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.