No Inherit DocOptionalcreatedOptionalis(internal usage) Indicates that the value was created via a fallback. This is used when with data specified in the metadata when the storage entry is empty.
With metadata fallback values (available as defaults on most storage entries) any empty storage item should erturn the default. (This is the same as the implementation on the Bizinikiwi runtime)
ReadonlyregistryConverts a Date object to a string.
Converts a Date object to a string.
Converts a Date object to a number.
Converts a Date object to a string or number.
The strings "number", "string", or "default" to specify what primitive to return.
A number if 'hint' was "number", a string if 'hint' was "string" or "default".
Gets the day-of-the-month, using local time.
Gets the day of the week, using local time.
Gets the year, using local time.
Gets the hours in a date, using local time.
Gets the milliseconds of a Date, using local time.
Gets the minutes of a Date object, using local time.
Gets the month, using local time.
Gets the seconds of a Date object, using local time.
Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC.
Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer.
Gets the day-of-the-month, using Universal Coordinated Time (UTC).
Gets the day of the week using Universal Coordinated Time (UTC).
Gets the year using Universal Coordinated Time (UTC).
Gets the hours value in a Date object using Universal Coordinated Time (UTC).
Gets the milliseconds of a Date object using Universal Coordinated Time (UTC).
Gets the minutes of a Date object using Universal Coordinated Time (UTC).
Gets the month of a Date object using Universal Coordinated Time (UTC).
Gets the seconds of a Date object using Universal Coordinated Time (UTC).
Sets the numeric day-of-the-month value of the Date object using local time.
A numeric value equal to the day of the month.
Sets the year of the Date object using local time.
A numeric value for the year.
Optionalmonth: number
A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.
Optionaldate: number
A numeric value equal for the day of the month.
Sets the hour value in the Date object using local time.
A numeric value equal to the hours value.
Optionalmin: number
A numeric value equal to the minutes value.
Optionalsec: number
A numeric value equal to the seconds value.
Optionalms: number
A numeric value equal to the milliseconds value.
Sets the milliseconds value in the Date object using local time.
A numeric value equal to the millisecond value.
Sets the minutes value in the Date object using local time.
A numeric value equal to the minutes value.
Optionalsec: number
A numeric value equal to the seconds value.
Optionalms: number
A numeric value equal to the milliseconds value.
Sets the month value in the Date object using local time.
A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.
Optionaldate: number
A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.
Sets the seconds value in the Date object using local time.
A numeric value equal to the seconds value.
Optionalms: number
A numeric value equal to the milliseconds value.
Sets the date and time value in the Date object.
A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.
Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).
A numeric value equal to the day of the month.
Sets the year value in the Date object using Universal Coordinated Time (UTC).
A numeric value equal to the year.
Optionalmonth: number
A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.
Optionaldate: number
A numeric value equal to the day of the month.
Sets the hours value in the Date object using Universal Coordinated Time (UTC).
A numeric value equal to the hours value.
Optionalmin: number
A numeric value equal to the minutes value.
Optionalsec: number
A numeric value equal to the seconds value.
Optionalms: number
A numeric value equal to the milliseconds value.
Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).
A numeric value equal to the millisecond value.
Sets the minutes value in the Date object using Universal Coordinated Time (UTC).
A numeric value equal to the minutes value.
Optionalsec: number
A numeric value equal to the seconds value.
Optionalms: number
A numeric value equal to the milliseconds value.
Sets the month value in the Date object using Universal Coordinated Time (UTC).
A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.
Optionaldate: number
A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.
Sets the seconds value in the Date object using Universal Coordinated Time (UTC).
A numeric value equal to the seconds value.
Optionalms: number
A numeric value equal to the milliseconds value.
Returns a date as a string value.
Returns a date as a string value in ISO format.
Returns a date as a string value appropriate to the host environment's current locale.
Converts a date to a string by using the current or specified locale.
Optionallocales: string | string[]
A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optionaloptions: DateTimeFormatOptions
An object that contains one or more properties that specify comparison options.
Converts a date to a string by using the current or specified locale.
Optionallocales: LocalesArgument
A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optionaloptions: DateTimeFormatOptions
An object that contains one or more properties that specify comparison options.
Returns a value as a string value appropriate to the host environment's current locale.
Converts a date and time to a string by using the current or specified locale.
Optionallocales: string | string[]
A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optionaloptions: DateTimeFormatOptions
An object that contains one or more properties that specify comparison options.
Converts a date and time to a string by using the current or specified locale.
Optionallocales: LocalesArgument
A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optionaloptions: DateTimeFormatOptions
An object that contains one or more properties that specify comparison options.
Returns a time as a string value appropriate to the host environment's current locale.
Converts a time to a string by using the current or specified locale.
Optionallocales: string | string[]
A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optionaloptions: DateTimeFormatOptions
An object that contains one or more properties that specify comparison options.
Converts a time to a string by using the current or specified locale.
Optionallocales: LocalesArgument
A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
Optionaloptions: DateTimeFormatOptions
An object that contains one or more properties that specify comparison options.
Returns a time as a string value.
Returns a date converted to a string using Universal Coordinated Time (UTC).
Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC.
StaticnowReturns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).
StaticparseParses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.
A date string
StaticUTCReturns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
The month as a number between 0 and 11 (January to December).
Optionaldate: number
The date as a number between 1 and 31.
Optionalhours: number
Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
Optionalminutes: number
Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
Optionalseconds: number
Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
Optionalms: number
A number from 0 to 999 that specifies the milliseconds.
Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
OptionalmonthIndex: number
The month as a number between 0 and 11 (January to December).
Optionaldate: number
The date as a number between 1 and 31.
Optionalhours: number
Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
Optionalminutes: number
Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
Optionalseconds: number
Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
Optionalms: number
A number from 0 to 999 that specifies the milliseconds.
Name
Date
Description
A wrapper around seconds/timestamps. Internally the representation only has second precicion (aligning with Rust), so any numbers passed an/out are always per-second. For any encoding/decoding the 1000 multiplier would be applied to get it in line with JavaScript formats. It extends the base JS
Dateobject and has all the methods available that are applicable to anyDate