Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTimeZoneMBS class.

NSTimeZoneMBS.abbreviation as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the abbreviation for the receiver.
Example
MsgBox NSTimeZoneMBS.localTimeZone.Abbreviation

The abbreviation for the receiver, such as "EDT" (Eastern Daylight Time).
Invokes abbreviationForDate with the current date as the argument.
(Read only property)

NSTimeZoneMBS.DaylightSavingTimeOffset as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the current daylight saving time offset of the receiver.
Example
MsgBox str(NSTimeZoneMBS.localTimeZone.DaylightSavingTimeOffset)

Available in OS X v10.5 and later.
(Read only property)

NSTimeZoneMBS.description as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the description of the receiver.
Example
MsgBox NSTimeZoneMBS.localTimeZone.Description

The description of the receiver, including the name, abbreviation, offset from GMT, and whether or not daylight savings time is currently in effect.
(Read only property)

NSTimeZoneMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

NSTimeZoneMBS.isDaylightSavingTime as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a Boolean value that indicates whether the receiver is currently using daylight saving time.
Example
MsgBox str(NSTimeZoneMBS.localTimeZone.isDaylightSavingTime)

Returns true if the receiver is currently using daylight savings time, otherwise false.
(Read only property)

NSTimeZoneMBS.name as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the geopolitical region ID that identifies the receiver.
Example
MsgBox NSTimeZoneMBS.localTimeZone.Name

(Read only property)

NSTimeZoneMBS.SecondsFromGMT as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the current difference in seconds between the receiver and Greenwich Mean Time.
Example
MsgBox str(NSTimeZoneMBS.localTimeZone.SecondsFromGMT)

The current difference in seconds between the receiver and Greenwich Mean Time.
(Read only property)

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


The biggest plugin in space...