Platforms to show: All Mac Windows Linux Cross-Platform

Back to XMPDateTimeMBS class.

XMPDateTimeMBS.ClearTimeZone

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Resets the timezone by setting all time zone properties to zero.

XMPDateTimeMBS.Clone as XMPDateTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a copy of this date.

Not just a new reference to the same object, but a real copy.

XMPDateTimeMBS.Compare(other as XMPDateTimeMBS) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compare the order of two date/time values.

Returns:
-1 if self is before other or other=nil
0 if self matches other
+1 if self is after other

XMPDateTimeMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Obtain the current date and time.

The returned time is UTC, properly adjusted for the local time zone. The resolution of the time is not guaranteed to be finer than seconds.

See also:

XMPDateTimeMBS.Constructor(text as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert from string to date/time.

See also:

XMPDateTimeMBS.ConvertToLocalTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Make sure a time is local.

If the time zone is not the local zone, the time is adjusted and the time zone set to be local.

Some examples using this method:

XMPDateTimeMBS.ConvertToUTCTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Make sure a time is UTC.

If the time zone is not UTC, the time is adjusted and the time zone set to be UTC.

Some examples using this method:

XMPDateTimeMBS.IsDateOnly as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether only the date is defined for this datetime object.

XMPDateTimeMBS.IsTimeOnly as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether only the time is defined for this datetime object.

XMPDateTimeMBS.Operator_Convert as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert from date/time to string.

See also:

XMPDateTimeMBS.Operator_Convert(text as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert from string to date/time.

See also:

XMPDateTimeMBS.SetTimeZone

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Set the local time zone.

Any existing time zone value is replaced, the other date/time fields are not adjusted in any way.

Some examples using this method:

XMPDateTimeMBS.Str as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XMP MBS XMP Plugin 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert from date/time to string.

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


The biggest plugin in space...