DateCompare

Compares the difference between two dates - returning 0 if equal, -1 if date2 is less than date1 and 1 if the inverse

Method Signature

DateCompare(date1=[any], date2=[any], datepart=[string])

Arguments

Argument
Type
Required
Description
Default

date1

any

true

The reference date object

date2

any

true

The date which to compare against date1

datepart

string

false

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC