Platforms to show: All Mac Windows Linux Cross-Platform
Back to CFDateMBS class.
CFDateMBS.AbsoluteTime as CFAbsoluteTimeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
timezone is optional and may be nil.
CFDateMBS.Compare(otherdate as CFDateMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Result codes:
kCFCompareLessThan = -1
kCFCompareEqualTo = 0
kCFCompareGreaterThan = 1
On any error returns 0.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
CFDateMBS.Constructor(date as CFDateMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
CFDateMBS.Constructor(date as date, timeZone as CFTimeZoneMBS = nil)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If time zone is nil, we use UTC.
See also:
CFDateMBS.Date(timeZone as CFTimeZoneMBS = nil) as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If time zone is nil, we use UTC.
CFDateMBS.DateTime(timeZone as CFTimeZoneMBS = nil) as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If time zone is nil, we use UTC.
CFDateMBS.Operator_Convert as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
See also:
CFDateMBS.Operator_Convert as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
CFDateMBS.TimeIntervalSinceDate(otherdate as CFDateMBS) as CFTimeIntervalMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
The items on this page are in the following plugins: MBS MacCF Plugin.