Platforms to show: All Mac Windows Linux Cross-Platform

NSDateComponentsMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
NSDateComponents encapsulates the components of a date in an extendable, object-oriented manner.

It is used to specify a date by providing the temporal components that make up a date and time: hour, minutes, seconds, day, month, year, and so on. It can also be used to specify a duration of time, for example, 5 hours and 16 minutes. An NSDateComponents object is not required to define all the component fields. When a new instance of NSDateComponents is created the date components are set to NSUndefinedDateComponent.

This class has no sub classes.

Blog Entries

Xojo Developer Magazine

Release notes

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS MacBase Plugin.


NSDataDetectorMBS   -   NSDateIntervalMBS


The biggest plugin in space...