@arcgis/coding-components 4.28.0-beta.33 → 4.28.0-beta.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +6 -6
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +6 -6
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +6 -6
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +6 -6
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +6 -6
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +6 -6
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +6 -6
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +6 -6
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +17 -17
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +6 -6
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +6 -6
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +6 -6
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +6 -6
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +6 -6
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +6 -6
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +6 -6
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +6 -6
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +6 -6
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +6 -6
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +6 -6
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +6 -6
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +6 -6
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +6 -6
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +6 -6
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +6 -6
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +6 -6
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +6 -6
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +6 -6
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +6 -6
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +6 -6
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +6 -6
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +6 -6
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +6 -6
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +6 -6
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +6 -6
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +6 -6
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +6 -6
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +6 -6
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +6 -6
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +6 -6
  41. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +33 -33
  42. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +33 -33
  43. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +33 -33
  44. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +33 -33
  45. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +33 -33
  46. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +33 -33
  47. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +33 -33
  48. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +33 -33
  49. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.en.json +33 -33
  50. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +33 -33
  51. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +33 -33
  52. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +33 -33
  53. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +33 -33
  54. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +33 -33
  55. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +33 -33
  56. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hu.json +33 -33
  57. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +33 -33
  58. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +33 -33
  59. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ja.json +33 -33
  60. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +33 -33
  61. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lt.json +33 -33
  62. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lv.json +33 -33
  63. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +33 -33
  64. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +33 -33
  65. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +33 -33
  66. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +33 -33
  67. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +33 -33
  68. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ro.json +33 -33
  69. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +33 -33
  70. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +33 -33
  71. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +33 -33
  72. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +33 -33
  73. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +33 -33
  74. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +33 -33
  75. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +33 -33
  76. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +33 -33
  77. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +33 -33
  78. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +33 -33
  79. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +33 -33
  80. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +33 -33
  81. package/package.json +7 -7
@@ -821,7 +821,7 @@
821
821
  "kind": 3,
822
822
  "documentation": {
823
823
  "kind": "markdown",
824
- "value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
824
+ "value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
825
825
  }
826
826
  },
827
827
  "parametersInfo": {
@@ -846,7 +846,7 @@
846
846
  "kind": 3,
847
847
  "documentation": {
848
848
  "kind": "markdown",
849
- "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameter**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
849
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameter**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
850
850
  }
851
851
  },
852
852
  "parametersInfo": {
@@ -919,7 +919,7 @@
919
919
  "kind": 3,
920
920
  "documentation": {
921
921
  "kind": "markdown",
922
- "value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parameter**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
922
+ "value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parameter**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
923
923
  }
924
924
  },
925
925
  "parametersInfo": {
@@ -1046,7 +1046,7 @@
1046
1046
  "kind": 3,
1047
1047
  "documentation": {
1048
1048
  "kind": "markdown",
1049
- "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameter**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1049
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameter**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Rückgabewert**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1050
1050
  }
1051
1051
  },
1052
1052
  "parametersInfo": {
@@ -1716,7 +1716,7 @@
1716
1716
  "bundle": "core",
1717
1717
  "sinceVersion": "1.24",
1718
1718
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1719
- "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
1719
+ "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.",
1720
1720
  "examples": "\n##### Beispiel\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
1721
1721
  "completion": {
1722
1722
  "label": "TimeZone",
@@ -1727,7 +1727,7 @@
1727
1727
  "kind": 3,
1728
1728
  "documentation": {
1729
1729
  "kind": "markdown",
1730
- "value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Rückgabewert**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1730
+ "value": "**[Seit Version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Rückgabewert**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1731
1731
  }
1732
1732
  },
1733
1733
  "parametersInfo": {
@@ -4061,7 +4061,7 @@
4061
4061
  "kind": 3,
4062
4062
  "documentation": {
4063
4063
  "kind": "markdown",
4064
- "value": "**[Από την έκδοση 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Παράμετροι**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4064
+ "value": "**[Από την έκδοση 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Παράμετροι**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4065
4065
  }
4066
4066
  },
4067
4067
  "parametersInfo": {
@@ -4086,7 +4086,7 @@
4086
4086
  "kind": 3,
4087
4087
  "documentation": {
4088
4088
  "kind": "markdown",
4089
- "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Παράμετροι**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4089
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Παράμετροι**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4090
4090
  }
4091
4091
  },
4092
4092
  "parametersInfo": {
@@ -4159,7 +4159,7 @@
4159
4159
  "kind": 3,
4160
4160
  "documentation": {
4161
4161
  "kind": "markdown",
4162
- "value": "**[Από την έκδοση 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Παράμετροι**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4162
+ "value": "**[Από την έκδοση 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Παράμετροι**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
4163
4163
  }
4164
4164
  },
4165
4165
  "parametersInfo": {
@@ -4286,7 +4286,7 @@
4286
4286
  "kind": 3,
4287
4287
  "documentation": {
4288
4288
  "kind": "markdown",
4289
- "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Παράμετροι**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4289
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Παράμετροι**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Τιμή επιστροφής**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
4290
4290
  }
4291
4291
  },
4292
4292
  "parametersInfo": {
@@ -4956,7 +4956,7 @@
4956
4956
  "bundle": "core",
4957
4957
  "sinceVersion": "1.24",
4958
4958
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
4959
- "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
4959
+ "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.",
4960
4960
  "examples": "\n##### Παράδειγμα\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
4961
4961
  "completion": {
4962
4962
  "label": "TimeZone",
@@ -4967,7 +4967,7 @@
4967
4967
  "kind": 3,
4968
4968
  "documentation": {
4969
4969
  "kind": "markdown",
4970
- "value": "**[Από την έκδοση 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Παράμετρος**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Τιμή επιστροφής**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
4970
+ "value": "**[Από την έκδοση 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.\n\n**Παράμετρος**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Τιμή επιστροφής**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
4971
4971
  }
4972
4972
  },
4973
4973
  "parametersInfo": {
@@ -257,7 +257,7 @@
257
257
  "bundle": "core",
258
258
  "sinceVersion": "1.12",
259
259
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#back",
260
- "description": "Returns the last element of an array. If the array is empty, then `Back(inputArray)` will cause the script evaluation to fail.",
260
+ "description": "Returns the last element of an array. If the input array is empty, then the expression evaluation will fail.",
261
261
  "examples": "\n##### Example\n\nReturns `'gray'`.\n\n```arcade\nvar colors = ['orange', 'purple', 'gray']\nBack(colors)\n```\n\n",
262
262
  "completion": {
263
263
  "label": "Back",
@@ -268,7 +268,7 @@
268
268
  "kind": 3,
269
269
  "documentation": {
270
270
  "kind": "markdown",
271
- "value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the last element of an array. If the array is empty, then `Back(inputArray)` will cause the script evaluation to fail.\n\n**Parameter**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to get the last value from.\n\n**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
271
+ "value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the last element of an array. If the input array is empty, then the expression evaluation will fail.\n\n**Parameter**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to get the last value from.\n\n**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
272
272
  }
273
273
  },
274
274
  "parametersInfo": {
@@ -432,7 +432,7 @@
432
432
  "bundle": "core",
433
433
  "sinceVersion": "1.12",
434
434
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
435
- "description": "Returns the first element of an array. If the array is empty, then `Front(inputArray)` will return null.",
435
+ "description": "Returns the first element of an array. If the input array is empty, then the expression evaluation will fail.",
436
436
  "examples": "\n##### Example\n\nReturns `'orange'`.\n\n```arcade\nvar colors = ['orange', 'purple', 'gray']\nFront(colors)\n```\n\n",
437
437
  "completion": {
438
438
  "label": "Front",
@@ -443,7 +443,7 @@
443
443
  "kind": 3,
444
444
  "documentation": {
445
445
  "kind": "markdown",
446
- "value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the first element of an array. If the array is empty, then `Front(inputArray)` will return null.\n\n**Parameter**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array from which to get the first value.\n\n**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
446
+ "value": "**[Since version 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the first element of an array. If the input array is empty, then the expression evaluation will fail.\n\n**Parameter**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array from which to get the first value.\n\n**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any)"
447
447
  }
448
448
  },
449
449
  "parametersInfo": {
@@ -821,7 +821,7 @@
821
821
  "kind": 3,
822
822
  "documentation": {
823
823
  "kind": "markdown",
824
- "value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parameters**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
824
+ "value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parameters**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
825
825
  }
826
826
  },
827
827
  "parametersInfo": {
@@ -846,7 +846,7 @@
846
846
  "kind": 3,
847
847
  "documentation": {
848
848
  "kind": "markdown",
849
- "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameters**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
849
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameters**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
850
850
  }
851
851
  },
852
852
  "parametersInfo": {
@@ -919,7 +919,7 @@
919
919
  "kind": 3,
920
920
  "documentation": {
921
921
  "kind": "markdown",
922
- "value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parameters**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
922
+ "value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parameters**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
923
923
  }
924
924
  },
925
925
  "parametersInfo": {
@@ -1046,7 +1046,7 @@
1046
1046
  "kind": 3,
1047
1047
  "documentation": {
1048
1048
  "kind": "markdown",
1049
- "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameters**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1049
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameters**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1050
1050
  }
1051
1051
  },
1052
1052
  "parametersInfo": {
@@ -1716,7 +1716,7 @@
1716
1716
  "bundle": "core",
1717
1717
  "sinceVersion": "1.24",
1718
1718
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1719
- "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
1719
+ "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.",
1720
1720
  "examples": "\n##### Example\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
1721
1721
  "completion": {
1722
1722
  "label": "TimeZone",
@@ -1727,7 +1727,7 @@
1727
1727
  "kind": 3,
1728
1728
  "documentation": {
1729
1729
  "kind": "markdown",
1730
- "value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Return value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1730
+ "value": "**[Since version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Return value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1731
1731
  }
1732
1732
  },
1733
1733
  "parametersInfo": {
@@ -1791,7 +1791,7 @@
1791
1791
  "sinceVersion": "1.1",
1792
1792
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#tolocal",
1793
1793
  "description": "Creates a new Date value matching the epoch of the input date and sets the time zone to the local or system time zone of the client.",
1794
- "examples": "\n##### Example\n\nConverts a UTC Date to the local time of the client\n\n```arcade\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nToLocal(Timestamp())\n```\n\n",
1794
+ "examples": "\n##### Example\n\nCreates a date in local time at the same epoch as the input date\n\n```arcade\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nToLocal(Timestamp())\n```\n\n",
1795
1795
  "completion": {
1796
1796
  "label": "ToLocal",
1797
1797
  "detail": "ToLocal(inputDate) -> Date",
@@ -1801,7 +1801,7 @@
1801
1801
  "kind": 3,
1802
1802
  "documentation": {
1803
1803
  "kind": "markdown",
1804
- "value": "**[Since version 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new Date value matching the epoch of the input date and sets the time zone to the local or system time zone of the client.\n\n**Parameter**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value to convert to the local time of the client.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1804
+ "value": "**[Since version 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new Date value matching the epoch of the input date and sets the time zone to the local or system time zone of the client.\n\n**Parameter**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value to represent in the local time of the client.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1805
1805
  }
1806
1806
  },
1807
1807
  "parametersInfo": {
@@ -1815,8 +1815,8 @@
1815
1815
  "bundle": "core",
1816
1816
  "sinceVersion": "1.1",
1817
1817
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#toutc",
1818
- "description": "Creates a new Date value matching the epoch of the input date and sets the time zone to UTC.",
1819
- "examples": "\n##### Example\n\nConverts the Date object from local time to UTC\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nToUTC(Now())\n```\n\n",
1818
+ "description": "Creates a new Date value matching the epoch of the input date and sets the time zone to UTC (Coordinated Universal Time).",
1819
+ "examples": "\n##### Example\n\nCreates a Date in UTC time at the same epoch as the input date.\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nNow()\n// Date represents Jan 27, 2023, 8:41:20 PM UTC\nToUTC(Now())\n```\n\n",
1820
1820
  "completion": {
1821
1821
  "label": "ToUTC",
1822
1822
  "detail": "ToUTC(inputDate) -> Date",
@@ -1826,7 +1826,7 @@
1826
1826
  "kind": 3,
1827
1827
  "documentation": {
1828
1828
  "kind": "markdown",
1829
- "value": "**[Since version 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new Date value matching the epoch of the input date and sets the time zone to UTC.\n\n**Parameter**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value to convert to UTC time.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1829
+ "value": "**[Since version 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new Date value matching the epoch of the input date and sets the time zone to UTC (Coordinated Universal Time).\n\n**Parameter**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value to represent in UTC time.\n\n**Return value**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1830
1830
  }
1831
1831
  },
1832
1832
  "parametersInfo": {
@@ -6714,7 +6714,7 @@
6714
6714
  "name": "text",
6715
6715
  "bundle": "core",
6716
6716
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
6717
- "description": "Converts its argument into a text value and optionally formats it. Returns `null` if it fails.",
6717
+ "description": "Converts any value into a text value. An optional `format` parameter is provided to allow for formatting date and number data inputs. Returns `null` if an equivalent text conversion cannot be determined.",
6718
6718
  "examples": "\n##### Examples\n\nPad the number to the left of the decimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestrict the number to the left of the decimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nGroup the number by thousands\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nRound the number to two decimal places\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormat number as currency\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nRound the number to two decimal places\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMaintain significant digits and group by thousands\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormat the number and format positive/negative - if there is a negative subpattern, it serves only to specify the negative prefix and suffix\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultiply by 100 and format as percentage\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormat date and time at the moment. eg 'Tuesday, October 25, 2016 @ 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nFormats the date and time with the timezone\n\n```arcade\nText(startDate, 'ddd, MMM D, Y h:mm:ss A ZZZZ')\n// returns Thu, Sep 14, 2023 10:04:49 AM PDT\n```\n\n",
6719
6719
  "completion": {
6720
6720
  "label": "Text",
@@ -6725,7 +6725,7 @@
6725
6725
  "kind": 3,
6726
6726
  "documentation": {
6727
6727
  "kind": "markdown",
6728
- "value": "Converts its argument into a text value and optionally formats it. Returns `null` if it fails.\n\n**Parameters**\n\n- **value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - A value to be converted to a text (e.g. date, number or other type). When a date is provided, this function assumes the date/time object is in UTC and automatically converts the value to the local time of the client executing the expression. If the date/time value returned from the database already represents local time, then you should use the `toUTC` function to avoid applying an extra offset.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Special formatting characters for dates or numbers. \nPossible values: \n - `0`: Digit \n - `#`: Digit, omitting leading/trailing zeros \n - `D`: Day of the month, not padded (1 - 31) \n - `DD`: Day of the month, padded (01 - 31) \n - `DDD`: Ordinal day of the year (1 - 365) \n - `d`: Day of the week (1 - 7) \n - `ddd`: Abbreviated day of the week (e.g. Mon) \n - `dddd`: Full day of the week (e.g. Monday) \n - `M`: Month number (1 - 12) \n - `MM`: Month number, padded (01 - 12) \n - `MMM`: Abbreviated month name (e.g. Jan) \n - `MMMM`: Full month name (e.g. January) \n - `Y`: Full year \n - `YY`: Two-digit year \n - `h`: Civilian hours, not padded (0 - 12) \n - `hh`: Civilian hours, padded (00 - 12) \n - `H`: Military hours, not padded (0 - 24) \n - `HH`: Military hours, padded (00 - 24) \n - `m`: Minutes, not padded (0 - 59) \n - `mm`: Minutes, padded (00 - 59) \n - `s`: Seconds, not padded (0 - 59) \n - `ss`: Seconds, padded (00 - 59) \n - `SSS`: Milliseconds, padded (000 - 999) \n - `A`: AM/PM \n - `Z`: Time zone offset in narrow hours +/- UTC (e.g. `-7` or `+11`) \n - `ZZ`: Time zone offset in hours +/- UTC (e.g. `-07:00` or `+11:00`) \n - `ZZZ`: Time zone offset in compact hours +/- UTC (e.g. `-0700` or `+1100`) \n - `ZZZZ`: Abbreviated named time zone (e.g. `EST`) \n - `ZZZZZ`: Named time zone (e.g. `Eastern Standard Time`) \n\n\n**Return value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
6728
+ "value": "Converts any value into a text value. An optional `format` parameter is provided to allow for formatting date and number data inputs. Returns `null` if an equivalent text conversion cannot be determined.\n\n**Parameters**\n\n- **value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - A value (i.e. date, number or other data type) to be converted to text.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Special characters for formatting dates or numbers. \nPossible values: \n - `0`: Digit \n - `#`: Digit, omitting leading/trailing zeros \n - `D`: Day of the month, not padded (1 - 31) \n - `DD`: Day of the month, padded (01 - 31) \n - `DDD`: Ordinal day of the year (1 - 365) \n - `d`: Day of the week (1 - 7) \n - `ddd`: Abbreviated day of the week (e.g. Mon) \n - `dddd`: Full day of the week (e.g. Monday) \n - `M`: Month number (1 - 12) \n - `MM`: Month number, padded (01 - 12) \n - `MMM`: Abbreviated month name (e.g. Jan) \n - `MMMM`: Full month name (e.g. January) \n - `Y`: Full year \n - `YY`: Two-digit year \n - `h`: Civilian hours, not padded (0 - 12) \n - `hh`: Civilian hours, padded (00 - 12) \n - `H`: Military hours, not padded (0 - 24) \n - `HH`: Military hours, padded (00 - 24) \n - `m`: Minutes, not padded (0 - 59) \n - `mm`: Minutes, padded (00 - 59) \n - `s`: Seconds, not padded (0 - 59) \n - `ss`: Seconds, padded (00 - 59) \n - `SSS`: Milliseconds, padded (000 - 999) \n - `A`: AM/PM \n - `Z`: Time zone offset in narrow hours +/- UTC (e.g. `-7` or `+11`) \n - `ZZ`: Time zone offset in hours +/- UTC (e.g. `-07:00` or `+11:00`) \n - `ZZZ`: Time zone offset in compact hours +/- UTC (e.g. `-0700` or `+1100`) \n - `ZZZZ`: Abbreviated named time zone (e.g. `EST`) \n - `ZZZZZ`: Named time zone (e.g. `Eastern Standard Time`) \n\n\n**Return value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
6729
6729
  }
6730
6730
  },
6731
6731
  "parametersInfo": {
@@ -782,7 +782,7 @@
782
782
  "kind": 3,
783
783
  "documentation": {
784
784
  "kind": "markdown",
785
- "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parámetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
785
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parámetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
786
786
  }
787
787
  },
788
788
  "parametersInfo": {
@@ -807,7 +807,7 @@
807
807
  "kind": 3,
808
808
  "documentation": {
809
809
  "kind": "markdown",
810
- "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parámetros**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
810
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parámetros**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
811
811
  }
812
812
  },
813
813
  "parametersInfo": {
@@ -880,7 +880,7 @@
880
880
  "kind": 3,
881
881
  "documentation": {
882
882
  "kind": "markdown",
883
- "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parámetros**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
883
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parámetros**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
884
884
  }
885
885
  },
886
886
  "parametersInfo": {
@@ -1007,7 +1007,7 @@
1007
1007
  "kind": 3,
1008
1008
  "documentation": {
1009
1009
  "kind": "markdown",
1010
- "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parámetros**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1010
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parámetros**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1011
1011
  }
1012
1012
  },
1013
1013
  "parametersInfo": {
@@ -1677,7 +1677,7 @@
1677
1677
  "bundle": "core",
1678
1678
  "sinceVersion": "1.24",
1679
1679
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1680
- "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
1680
+ "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.",
1681
1681
  "examples": "\n##### Ejemplo\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
1682
1682
  "completion": {
1683
1683
  "label": "TimeZone",
@@ -1688,7 +1688,7 @@
1688
1688
  "kind": 3,
1689
1689
  "documentation": {
1690
1690
  "kind": "markdown",
1691
- "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Valor de retorno**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1691
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Valor de retorno**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1692
1692
  }
1693
1693
  },
1694
1694
  "parametersInfo": {
@@ -1756,7 +1756,7 @@
1756
1756
  "kind": 3,
1757
1757
  "documentation": {
1758
1758
  "kind": "markdown",
1759
- "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parameetrid**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1759
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parameetrid**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1760
1760
  }
1761
1761
  },
1762
1762
  "parametersInfo": {
@@ -1781,7 +1781,7 @@
1781
1781
  "kind": 3,
1782
1782
  "documentation": {
1783
1783
  "kind": "markdown",
1784
- "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameetrid**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1784
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parameetrid**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1785
1785
  }
1786
1786
  },
1787
1787
  "parametersInfo": {
@@ -1854,7 +1854,7 @@
1854
1854
  "kind": 3,
1855
1855
  "documentation": {
1856
1856
  "kind": "markdown",
1857
- "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parameetrid**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1857
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parameetrid**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1858
1858
  }
1859
1859
  },
1860
1860
  "parametersInfo": {
@@ -1981,7 +1981,7 @@
1981
1981
  "kind": 3,
1982
1982
  "documentation": {
1983
1983
  "kind": "markdown",
1984
- "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameetrid**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1984
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parameetrid**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Coordinated Universal Time\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Tagastusväärtus**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1985
1985
  }
1986
1986
  },
1987
1987
  "parametersInfo": {
@@ -2651,7 +2651,7 @@
2651
2651
  "bundle": "core",
2652
2652
  "sinceVersion": "1.24",
2653
2653
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
2654
- "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
2654
+ "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.",
2655
2655
  "examples": "\n##### Näide\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
2656
2656
  "completion": {
2657
2657
  "label": "TimeZone",
@@ -2662,7 +2662,7 @@
2662
2662
  "kind": 3,
2663
2663
  "documentation": {
2664
2664
  "kind": "markdown",
2665
- "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Tagastusväärtus**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
2665
+ "value": "**[Alates versioonist 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC` - Coordinated Universal Time\n\n- `Unknown` - time zone information is not defined.\n\n**Parameeter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Tagastusväärtus**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
2666
2666
  }
2667
2667
  },
2668
2668
  "parametersInfo": {