ActualAbbreviation( extends zone as TimeZone ) As String |
Returns the actual abbreviation for the TimeZone, such as “EST”. Xojo currently returns geographic identifiers. |
Add( extends d As DateTime, Amount as Integer, Interval as Intervals ) As DateTime |
Adds the specified amount of time to the Date object. |
Add( extends d As DateTime, IncrementPeriod as String ) As DateTime |
Add( extends d As DateTime, TotalSeconds as Integer ) As DateTime |
Compare( Extends d As DateTime, CompTo As DateTime, CompType as ComparisonTypes ) As ComparisonResult |
Will compare two date objects, and return a ComparisonResult enum value of GreaterThan, LessThan, or EqualTo |
CurrencyDecimalDigits( CurrencyCode as String ) As Integer |
Returns the number of digits expected on a currency type for the specified currency code. |
CurrencyName( CurrencyCode as String, Plural as Boolean = False ) As String |
Returns the localized name for the currency code specified. IE: for USD with Plural = False the result is “U.S. Dollar”, and with Plural = True the result is “U.S. dollars” |
CurrencySymbol( currencyCode as String, Native as Boolean = True ) |
Returns the symbol for currency of the specified currency code. IE: USD will return “$”for Native = True, and “US$” for Native = False |
DayName( DayNumber as Integer ) As String |
Returns the full day name (IE: Wednesday) for the specified DayNumber |
DayName( Extends d As DateTime ) As String |
Returns the day name for the Day property of the passed object. |
DayNameMin( DayNumber as Integer ) As String |
Returns the minimal day name (IE: “We” for Wednesday) for the specified DayNumber |
DayNameMin( Extends d As DateTime ) As String |
Returns the minimal day name (IE: “We” for Wednesday) for the Day property of the passed object. |
DayNameShort( DayNumber as Integer ) As String |
Returns the short day name (IE: “Wed” for Wednesday) for the specified DayNumber |
DayNameShort( Extends d As DateTime ) As String |
Returns the short day name (IE: “Wed” for Wednesday) for the Day property of the passed object. |
Description( zone as TimeZone ) As String |
Returns a description of the TimeZone, such as human readable offset and region. |
Format( Extends d As DateTime, formatString as String ) as String |
Formats the date of the passed object according to the mask assigned to formatString |
From( Extends d As DateTime, dTarget As DateTime ) As String |
Returns a localized string of time difference between d and dTarget. IE: A difference of three seconds will result in either “in a few seconds” or “a few seconds ago”dependent on values. |
FromNow( Extends dTarget As DateTime ) |
Returns a localized string of time difference between d and Now. IE: A difference of three seconds will result in either “in a few seconds”or “a few seconds ago” dependent on values. |
isAM( Extends d As DateTime ) As Boolean |
Returns True if the meridiem of the time represented in the Date object is before noon. |
isDaylightSavings( extends zone As TimeZone ) As Boolean |
Returns whether the current TimeZone is modified by daylight savings. |
isPM( Extends d As DateTime ) As Boolean |
Returns True if the meridiem of the time represented in the Date object is after noon. |
Meridiem( extends d As DateTime, isUppercase as Boolean = False ) As String |
Returns the string representing the meridiem of the current time (IE: “AM” or “PM” ) |
MonthName( MonthNumber as Integer ) As String |
Returns the full month name (IE: December) for the specified MonthNumber |
MonthName( Extends d As DateTime ) As String |
Returns the month name for the Month property of the passed object. |
MonthNameShort( MonthNumber as Integer ) As String |
Returns the short month name (IE: “Dec”) for the specified MonthNumber |
MonthNameShort( Extends d As DateTime ) As String |
Returns the short month name for the Month property of the passed object. |
Now() As DateTime |
Returns a date object representing the current date/time. |
Regions( extends zone As TimeZone ) As String() |
List of regions that observe this TimeZone. |
Subtract( extends d As DateTime, Amount as Integer, Interval as Intervals ) As DateTime |
Subtracts the specified amount of time to the Date object. |
Subtract( extends d As DateTime, IncrementPeriod as String ) As DateTime |
Subtract( extends d As DateTime, TotalSeconds as Integer ) As DateTime |
SystemLocale() As String |
Returns the current system’s language code. |
toCurrency( extends v as Double, currencyCode as String = “USD”, Native as Boolean = True ) As String |
Converts a Double value to a localized currency string. |
toDecimal( extends v as Double, numberOfDecimals as Integer ) As String |
Converts a Double value to a localized decimal string. |
toPercent( extends v as Double, numberOfDecimals as Integer ) As String |
Converts a Double value to a localized percentage string. |