Platforms to show: All Mac Windows Linux Cross-Platform
Back to DateDifferenceMBS class.
DateDifferenceMBS.Calc(StartDate as date, EndDate as date) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Basic | MBS Util Plugin | 7.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns false on any errors and true on success.
Valid only for dates from the gregorian calendar.
Sets ready property.
Calculates the difference between the older and newer date. The dates are sorted, so the difference is always a positive.
You can see Swap property to see if first date is after second date.
See also:
DateDifferenceMBS.Calc(StartDate as dateTime, EndDate as dateTime) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Basic | MBS Util Plugin | 19.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns false on any errors and true on success.
Valid only for dates from the gregorian calendar.
Sets ready property.
Calculates the difference between the older and newer date. The dates are sorted, so the difference is always a positive.
You can see Swap property to see if first date is after second date.
Please make sure both dates are in the same timezone.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Basic | MBS Util Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
DateDifferenceMBS.Constructor(StartDate as date, EndDate as date)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Basic | MBS Util Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Internally calls Calc and sets ready property.
See also:
DateDifferenceMBS.Constructor(StartDate as dateTime, EndDate as dateTime)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Basic | MBS Util Plugin | 19.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Internally calls Calc and sets ready property.
Please make sure both dates are in the same timezone.
See also:
The items on this page are in the following plugins: MBS Util Plugin.