@arcgis/coding-components 1.0.0-beta.11 → 1.0.0-beta.13

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 (130) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +858 -192
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +821 -155
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +829 -163
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +829 -163
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +829 -163
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +829 -163
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +829 -163
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +858 -192
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +853 -187
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +829 -163
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +829 -163
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +858 -192
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +829 -163
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +858 -192
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +829 -163
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +829 -163
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +858 -192
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +821 -155
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +859 -193
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +859 -193
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +829 -163
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +829 -163
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +829 -163
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +829 -163
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +829 -163
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +829 -163
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +829 -163
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +829 -163
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +858 -192
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +829 -163
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +829 -163
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +845 -179
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +829 -163
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +858 -192
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +858 -192
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +858 -192
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +858 -192
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +859 -193
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +859 -193
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +859 -193
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -2
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -2
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -2
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -2
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -2
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -2
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -2
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -2
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +1 -2
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -2
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -2
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -2
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -2
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -2
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -2
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -2
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -2
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -2
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -2
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -2
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -2
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -2
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +1 -2
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -2
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -2
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -2
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -2
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -2
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -2
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -2
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -2
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -2
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -2
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -2
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -2
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -2
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -2
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -2
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -2
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -2
  82. package/dist/arcgis-coding-components/index.esm.js +1 -1
  83. package/dist/arcgis-coding-components/{p-ed254359.js → p-00c0b964.js} +1 -1
  84. package/dist/arcgis-coding-components/{p-616bcc2c.js → p-0f471c2c.js} +1 -1
  85. package/dist/arcgis-coding-components/{p-4d7cdaf4.js → p-2daa5deb.js} +1 -1
  86. package/dist/arcgis-coding-components/{p-b866ffa3.js → p-65933e8a.js} +1 -1
  87. package/dist/arcgis-coding-components/{p-2eee5b07.js → p-92019d78.js} +7 -7
  88. package/dist/arcgis-coding-components/{p-ee4aaf72.js → p-bcd478e3.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-41feaa6e.js → p-be85ec3d.js} +1 -1
  90. package/dist/arcgis-coding-components/{p-63d6d128.js → p-bf83cfac.js} +1 -1
  91. package/dist/arcgis-coding-components/p-dd2d53e7.entry.js +1 -0
  92. package/dist/arcgis-coding-components/{p-c14a46af.js → p-f1b6ba59.js} +1 -1
  93. package/dist/cjs/{arcade-defaults-f77b7bae.js → arcade-defaults-990ceb0a.js} +51 -33
  94. package/dist/cjs/{arcade-mode-4b1d5adc.js → arcade-mode-6a101da0.js} +1 -1
  95. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +40 -10
  96. package/dist/cjs/{cssMode-c21a8b34.js → cssMode-ef738198.js} +1 -1
  97. package/dist/cjs/{html-baddeebf.js → html-e97a8c1e.js} +1 -1
  98. package/dist/cjs/{htmlMode-3ca73779.js → htmlMode-0afb8251.js} +1 -1
  99. package/dist/cjs/index.cjs.js +1 -1
  100. package/dist/cjs/{javascript-4226e8d4.js → javascript-09fbcb7d.js} +2 -2
  101. package/dist/cjs/{jsonMode-4496d6b9.js → jsonMode-9a315af5.js} +1 -1
  102. package/dist/cjs/{tsMode-6fa6f2f6.js → tsMode-000c3471.js} +1 -1
  103. package/dist/cjs/{typescript-5b6bab68.js → typescript-a9f8ce6c.js} +1 -1
  104. package/dist/components/arcade-api.js +2 -1
  105. package/dist/components/arcade-defaults.js +3 -23
  106. package/dist/components/arcade-results.js +40 -10
  107. package/dist/components/arcade-suggestions.js +2 -1
  108. package/dist/components/arcade-variables.js +1 -1
  109. package/dist/components/arcgis-arcade-editor.js +1 -1
  110. package/dist/components/code-editor.js +1 -1
  111. package/dist/components/fields.js +125 -0
  112. package/dist/components/index2.js +282 -32
  113. package/dist/components/utilities.js +2 -334
  114. package/dist/esm/{arcade-defaults-24670a1d.js → arcade-defaults-a8808d6a.js} +52 -33
  115. package/dist/esm/{arcade-mode-dc10ed9f.js → arcade-mode-6c8aff99.js} +1 -1
  116. package/dist/esm/arcgis-arcade-api_6.entry.js +40 -10
  117. package/dist/esm/{cssMode-0ae84348.js → cssMode-e19675cf.js} +1 -1
  118. package/dist/esm/{html-c18864a6.js → html-0e2f7c2f.js} +1 -1
  119. package/dist/esm/{htmlMode-426699f2.js → htmlMode-a4dd6993.js} +1 -1
  120. package/dist/esm/index.js +1 -1
  121. package/dist/esm/{javascript-982f2d73.js → javascript-9d754452.js} +2 -2
  122. package/dist/esm/{jsonMode-170e0a0e.js → jsonMode-cfafe91a.js} +1 -1
  123. package/dist/esm/{tsMode-99d2e8e5.js → tsMode-612386a7.js} +1 -1
  124. package/dist/esm/{typescript-de4f8a27.js → typescript-a17e2ba3.js} +1 -1
  125. package/dist/types/utils/arcade-executor.d.ts +35 -3
  126. package/dist/types/utils/fields.d.ts +10 -0
  127. package/dist/types/utils/profile/types.d.ts +2 -2
  128. package/dist/types/utils/utilities.d.ts +0 -6
  129. package/package.json +8 -8
  130. package/dist/arcgis-coding-components/p-9a6baa15.entry.js +0 -1
@@ -149,29 +149,54 @@
149
149
  "id": "date_functions",
150
150
  "title": "Funcții de dată",
151
151
  "items": [
152
+ {
153
+ "type": "function",
154
+ "name": "changetimezone",
155
+ "bundle": "core",
156
+ "sinceVersion": "1.24",
157
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
158
+ "description": "Changes 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`.",
159
+ "examples": "\n##### Exemple\n\nChanges the given Date's time zone from `America/New_York` to `America/Los_Angeles`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"America/New_York\")\nChangeTimeZone(inputDate, \"America/Los_Angeles\");\n// returns a Date representing Nov 11, 2011, 5:00:00 AM PST\n```\n\nAssigns a Date with an `unknown` time zone to a time offset of `+07:00`\n\n```arcade\nvar inputDate = Date(2011,10,11,8,0,0,0, \"unknown\")\nChangeTimeZone(inputDate, \"+07:00\");\n// returns a Date representing Nov 11, 2011, 8:00:00 AM +07:00\n```\n\n",
160
+ "completion": {
161
+ "label": "ChangeTimeZone",
162
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
163
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
164
+ "insertTextMode": 2,
165
+ "insertTextFormat": 2,
166
+ "kind": 3,
167
+ "documentation": {
168
+ "kind": "markdown",
169
+ "value": "**[De la versiune 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**Parametri**\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. \nThe time zone must be one of the following:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
170
+ }
171
+ },
172
+ "parametersInfo": {
173
+ "min": 2,
174
+ "max": 2
175
+ }
176
+ },
152
177
  [
153
178
  {
154
179
  "type": "function",
155
180
  "name": "date",
156
181
  "bundle": "core",
157
182
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
158
- "description": "Creează un Obiect dată dintr-un set de parametri. Implicit, datele sunt create la ora locală a clientului sau sistemului.",
159
- "examples": "\n##### Exemple\n\nCreează o dată care reprezintă ora dată în ora locală a sistemului pe care rulează Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCreează o dată care reprezintă ora curentă în ora locală a sistemului pe care rulează Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
183
+ "description": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.",
184
+ "examples": "\n##### Exemple\n\nCreates a Date representing the given time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCreates a Date with time defined in a specific time zone\n\n```arcade\nDate(1990, 10, 2, 2, 23, 0, 0, \"America/New_York\");\n // Date represents Nov 2, 1990, 2:23:00 AM EST\n```\n\n",
160
185
  "completion": {
161
186
  "label": "Date",
162
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
187
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
163
188
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
164
189
  "insertTextMode": 2,
165
190
  "insertTextFormat": 2,
166
191
  "kind": 3,
167
192
  "documentation": {
168
193
  "kind": "markdown",
169
- "value": "Creează un Obiect dată dintr-un set de parametri. Implicit, datele sunt create la ora locală a clientului sau sistemului.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un număr care reprezintă un an.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Luna (0-11), unde 0 este ianuarie și 11 este decembrie.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Ziua din lună (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Ora din zi (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Minutul din oră (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Secunda din minut (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Milisecunda secundei (0-999).\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
194
+ "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**Parametri**\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. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
170
195
  }
171
196
  },
172
197
  "parametersInfo": {
173
198
  "min": 3,
174
- "max": 7
199
+ "max": 8
175
200
  }
176
201
  },
177
202
  {
@@ -179,8 +204,8 @@
179
204
  "name": "date",
180
205
  "bundle": "core",
181
206
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
182
- "description": "Creează o dată cu numărul epoch Unix dat în fusul orar local al clientului sau sistemului.",
183
- "examples": "\n##### Exemplu\n\nMilisecunde din 1 ianuarie 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
207
+ "description": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.",
208
+ "examples": "\n##### Exemple\n\nMilliseconds since January 1, 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\nCreates a Date representing the current time in the time zone of the profile's execution context running Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
184
209
  "completion": {
185
210
  "label": "Date",
186
211
  "detail": "Date(epoch?) -> Date",
@@ -190,7 +215,7 @@
190
215
  "kind": 3,
191
216
  "documentation": {
192
217
  "kind": "markdown",
193
- "value": "Creează o dată cu numărul epoch Unix dat în fusul orar local al clientului sau sistemului.\n\n**Parametru**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Numărul de milisecunde de la 1 ianuarie 1970 UTC.\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
218
+ "value": "Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile.\n\n**Parametru**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
194
219
  }
195
220
  },
196
221
  "parametersInfo": {
@@ -203,8 +228,8 @@
203
228
  "name": "date",
204
229
  "bundle": "core",
205
230
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
206
- "description": "Convertește o valoare text ISO 8601 într-un obiect Dată în fusul orar local al clientului sau sistemului.",
207
- "examples": "\n##### Exemplu\n\nValoare text ISO 8601\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\n",
231
+ "description": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.",
232
+ "examples": "\n##### Exemple\n\nCreates a Date from an ISO 8601 text value with a known time offset\n\n```arcade\nDate('2016-10-20T17:41:37+00:00') // 'Thu Oct 20 2016 10:41:37 GMT-0700 (PDT)'\n```\n\nCreates a Date from an ISO 8601 text value with an unknown time offset\n\n```arcade\nDate('2016-10-20T17:41:37') // 'Thu Oct 20 2016 5:41:37 PM PDT'\n```\n\n",
208
233
  "completion": {
209
234
  "label": "Date",
210
235
  "detail": "Date(timestamp?) -> Date",
@@ -214,70 +239,376 @@
214
239
  "kind": 3,
215
240
  "documentation": {
216
241
  "kind": "markdown",
217
- "value": "Convertește o valoare text ISO 8601 într-un obiect Dată în fusul orar local al clientului sau sistemului.\n\n**Parametru**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O valoare text ISO 8601 care va fi transformată în dată.\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
242
+ "value": "Creates a Date value from an ISO 8601 text value. If a UTC offset is provided, the date will still be displayed in the time zone of the profile. If no text value is provided, creates a date at the current date and time in the time zone of the profile.\n\n**Parametru**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - An ISO 8601 text value to be converted into a Date.\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
218
243
  }
219
244
  },
220
245
  "parametersInfo": {
221
246
  "min": 0,
222
247
  "max": 1
223
248
  }
249
+ },
250
+ {
251
+ "type": "function",
252
+ "name": "date",
253
+ "bundle": "core",
254
+ "sinceVersion": "1.24",
255
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
256
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
257
+ "examples": "\n##### Exemplu\n\nCreates a Date from a DateOnly and time type\n\n```arcade\nDate(DateOnly(2022,10,11), Time(\"11:20 am\"))\n// returns a Date representing Nov 11, 2022, 11:20:00 AM in an unknown time zone\n```\n\n",
258
+ "completion": {
259
+ "label": "Date",
260
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
261
+ "insertText": "Date(${1:dateOnlyValue_})$0",
262
+ "insertTextMode": 2,
263
+ "insertTextFormat": 2,
264
+ "kind": 3,
265
+ "documentation": {
266
+ "kind": "markdown",
267
+ "value": "**[De la versiune 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**Parametri**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): 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. \nPossible values:\n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
268
+ }
269
+ },
270
+ "parametersInfo": {
271
+ "min": 1,
272
+ "max": 3
273
+ }
274
+ },
275
+ {
276
+ "type": "function",
277
+ "name": "date",
278
+ "bundle": "core",
279
+ "sinceVersion": "1.24",
280
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
281
+ "description": "Creates a copy of the given Date.",
282
+ "examples": "\n##### Exemplu\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
283
+ "completion": {
284
+ "label": "Date",
285
+ "detail": "Date(dateValue) -> Date",
286
+ "insertText": "Date(${1:dateValue_})$0",
287
+ "insertTextMode": 2,
288
+ "insertTextFormat": 2,
289
+ "kind": 3,
290
+ "documentation": {
291
+ "kind": "markdown",
292
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
293
+ }
294
+ },
295
+ "parametersInfo": {
296
+ "min": 1,
297
+ "max": 1
298
+ }
224
299
  }
225
300
  ],
226
- {
227
- "type": "function",
228
- "name": "dateadd",
229
- "bundle": "core",
230
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
231
- "description": "Adaugă la o dată un timp specificat în unitățile date și returnează o dată nouă.",
232
- "examples": "\n##### Exemplu\n\nAdaugă 7 zile la data din câmpul furnizat\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
233
- "completion": {
234
- "label": "DateAdd",
235
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
236
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
237
- "insertTextMode": 2,
238
- "insertTextFormat": 2,
239
- "kind": 3,
240
- "documentation": {
241
- "kind": "markdown",
242
- "value": "Adaugă la o dată un timp specificat în unitățile date și returnează o dată nouă.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Data de intrare la care se adaugă timp.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Valoarea de adăugat la dată în unitățile date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Unitățile numărului de adăugat la dată. Valoarea implicită este „milisecunde”. Tipurile de unități acceptate includ „milisecunde”, „secunde, „minute”, „ore”, „zile”, „luni”, „ani”\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
301
+ [
302
+ {
303
+ "type": "function",
304
+ "name": "dateadd",
305
+ "bundle": "core",
306
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
307
+ "description": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.",
308
+ "examples": "\n##### Exemplu\n\nAdds 7 days to the given Date\n\n```arcade\nvar startDate = Date(2023, 9, 1, 12, 00);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns a Date representing Oct 8, 2023, 12:00:00 PM PDT\n```\n\n",
309
+ "completion": {
310
+ "label": "DateAdd",
311
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
312
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
313
+ "insertTextMode": 2,
314
+ "insertTextFormat": 2,
315
+ "kind": 3,
316
+ "documentation": {
317
+ "kind": "markdown",
318
+ "value": "Adds a specified amount of time in the given units to a Date and returns a new Date. If the Date has an IANA time zone, then daylight saving and other time zone driven logic will apply.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The input Date to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the Date in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the Date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
319
+ }
320
+ },
321
+ "parametersInfo": {
322
+ "min": 2,
323
+ "max": 3
243
324
  }
244
325
  },
245
- "parametersInfo": {
246
- "min": 2,
247
- "max": 3
326
+ {
327
+ "type": "function",
328
+ "name": "dateadd",
329
+ "bundle": "core",
330
+ "sinceVersion": "1.24",
331
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
332
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
333
+ "examples": "\n##### Exemple\n\nAdds 7 days to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n// returns 2023-06-11\n```\n\nAdds 12 hours to the Date in the provided field\n\n```arcade\nvar startDate = DateOnly(2023,5,4); // equivalent to 2023-06-04\nvar hoursLater = DateAdd(startDate, 12, 'hours');\nreturn hoursLater;\n// returns the original start date, 2023-06-04\n// since 12 hours < 1 day, the DateOnly input is not changed\n```\n\n",
334
+ "completion": {
335
+ "label": "DateAdd",
336
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
337
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
338
+ "insertTextMode": 2,
339
+ "insertTextFormat": 2,
340
+ "kind": 3,
341
+ "documentation": {
342
+ "kind": "markdown",
343
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.\n\n**Parametri**\n\n- **dateOnlyValue**: DateOnly - The input DateOnly value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the date in the given units. For DateOnly inputs, this value will be rounded down to the nearest day based on a 24-hour interval. If the value to be added is less than 24 hours, then no value will be added to the DateOnly input.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`\n\n**Returnare versiune**: DateOnly"
344
+ }
345
+ },
346
+ "parametersInfo": {
347
+ "min": 2,
348
+ "max": 3
349
+ }
350
+ },
351
+ {
352
+ "type": "function",
353
+ "name": "dateadd",
354
+ "bundle": "core",
355
+ "sinceVersion": "1.24",
356
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
357
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
358
+ "examples": "\n##### Exemple\n\nAdds 7 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 7, 'hours');\nreturn hoursLater;\n// returns 18:30:00\n```\n\nAdds 90 seconds to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar secondsLater = DateAdd(startTime, 90, \"seconds\");\nreturn secondsLater;\n// returns 11:31:30\n```\n\nAdds 25 hours to the given Time\n\n```arcade\nvar startTime = Time(11,30); // equivalent to 11:30:00\nvar hoursLater = DateAdd(startTime, 25, 'hours');\nreturn hoursLater;\n// returns 12:30:00\n```\n\n",
359
+ "completion": {
360
+ "label": "DateAdd",
361
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
362
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
363
+ "insertTextMode": 2,
364
+ "insertTextFormat": 2,
365
+ "kind": 3,
366
+ "documentation": {
367
+ "kind": "markdown",
368
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nAdds a specified amount of time in the given units to a Time value and returns a new Time value.\n\n**Parametri**\n\n- **timeValue**: Time - The input Time value to which to add time.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The value to add to the time in the given units.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units of the number to add to the date. Default is `milliseconds`. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`\n\n**Returnare versiune**: Time"
369
+ }
370
+ },
371
+ "parametersInfo": {
372
+ "min": 2,
373
+ "max": 3
374
+ }
248
375
  }
249
- },
250
- {
251
- "type": "function",
252
- "name": "datediff",
253
- "bundle": "core",
254
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
255
- "description": "Scade două date și returnează diferența în unitățile specificate.",
256
- "examples": "\n##### Exemplu\n\nScade două date și returnează vârsta\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
257
- "completion": {
258
- "label": "DateDiff",
259
- "detail": "DateDiff(date1, date2, units?) -> Number",
260
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
261
- "insertTextMode": 2,
262
- "insertTextFormat": 2,
263
- "kind": 3,
264
- "documentation": {
265
- "kind": "markdown",
266
- "value": "Scade două date și returnează diferența în unitățile specificate.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Valoarea datei din care se scade a doua dată.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Valoarea datei care se scade din prima dată.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Unitățile în care se returnează diferența celor două date specificate. Tipurile de unități acceptate includ „milisecunde”, „secunde, „minute”, „ore”, „zile”, „luni”, „ani”. Valoarea implicită este „milisecunde”.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
376
+ ],
377
+ [
378
+ {
379
+ "type": "function",
380
+ "name": "datediff",
381
+ "bundle": "core",
382
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
383
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
384
+ "examples": "\n##### Exemple\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
385
+ "completion": {
386
+ "label": "DateDiff",
387
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
388
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
389
+ "insertTextMode": 2,
390
+ "insertTextFormat": 2,
391
+ "kind": 3,
392
+ "documentation": {
393
+ "kind": "markdown",
394
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\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. \nPossible values: \n - text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (e.g. `America/New_York`)\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n - `system` - time zone will be set to the device or system's local time zone \n - `default` - the time zone of the profile's execution context\n - `UTC`\n - `unknown` - removes time zone information for the given value and displays the date and time as it was defined by the data source\n\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
395
+ }
396
+ },
397
+ "parametersInfo": {
398
+ "min": 2,
399
+ "max": 4
267
400
  }
268
401
  },
269
- "parametersInfo": {
270
- "min": 2,
271
- "max": 3
402
+ {
403
+ "type": "function",
404
+ "name": "datediff",
405
+ "bundle": "core",
406
+ "sinceVersion": "1.24",
407
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
408
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
409
+ "examples": "\n##### Exemplu\n\nSubtracts two DateOnly values and returns the difference in years\n\n```arcade\nvar startDate = DateOnly(1996,11,10);\nvar endDate = DateOnly(); // today's date\nvar age = DateDiff(endDate, startDate, 'years');\nFloor(age); // round down\n// returns 26\n```\n\n",
410
+ "completion": {
411
+ "label": "DateDiff",
412
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
413
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
414
+ "insertTextMode": 2,
415
+ "insertTextFormat": 2,
416
+ "kind": 3,
417
+ "documentation": {
418
+ "kind": "markdown",
419
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two DateOnly values, and returns the difference in the specified units.\n\n**Parametri**\n\n- **dateOnly1**: DateOnly - The DateOnly value from which to subtract a second DateOnly value.\n- **dateOnly2**: DateOnly - The DateOnly value to subtract from the first given DateOnly value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given DateOnly values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
420
+ }
421
+ },
422
+ "parametersInfo": {
423
+ "min": 2,
424
+ "max": 3
425
+ }
426
+ },
427
+ {
428
+ "type": "function",
429
+ "name": "datediff",
430
+ "bundle": "core",
431
+ "sinceVersion": "1.24",
432
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
433
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
434
+ "examples": "\n##### Exemplu\n\nSubtracts two Time values and returns the difference in hours\n\n```arcade\nDateDiff(Time(23,0), Time(9,0), 'hours')\n// returns 14\n```\n\n",
435
+ "completion": {
436
+ "label": "DateDiff",
437
+ "detail": "DateDiff(time1, time2, units?) -> Number",
438
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
439
+ "insertTextMode": 2,
440
+ "insertTextFormat": 2,
441
+ "kind": 3,
442
+ "documentation": {
443
+ "kind": "markdown",
444
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSubtracts two Time values, and returns the difference in the specified units.\n\n**Parametri**\n\n- **time1**: Time - The Time value from which to subtract a second Time value.\n- **time2**: Time - The Time value to subtract from the first given Time value.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Time values. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`. The default value is `milliseconds`.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
445
+ }
446
+ },
447
+ "parametersInfo": {
448
+ "min": 2,
449
+ "max": 3
450
+ }
272
451
  }
273
- },
452
+ ],
453
+ [
454
+ {
455
+ "type": "function",
456
+ "name": "dateonly",
457
+ "bundle": "core",
458
+ "sinceVersion": "1.24",
459
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
460
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
461
+ "examples": "\n##### Exemplu\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
462
+ "completion": {
463
+ "label": "DateOnly",
464
+ "detail": "DateOnly() -> DateOnly",
465
+ "insertText": "DateOnly($0)",
466
+ "insertTextMode": 2,
467
+ "insertTextFormat": 2,
468
+ "kind": 3,
469
+ "documentation": {
470
+ "kind": "markdown",
471
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value based on the current date in the time zone of the profile's execution context.\n\n**Returnare versiune**: DateOnly"
472
+ }
473
+ },
474
+ "parametersInfo": {
475
+ "min": 0,
476
+ "max": 0
477
+ }
478
+ },
479
+ {
480
+ "type": "function",
481
+ "name": "dateonly",
482
+ "bundle": "core",
483
+ "sinceVersion": "1.24",
484
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
485
+ "description": "Creates a DateOnly value from a given date.",
486
+ "examples": "\n##### Exemplu\n\nReturns the DateOnly from the given date\n\n```arcade\nDateOnly(Date(2008,10,11,10,30));\n// returns 2008-11-11\n```\n\n",
487
+ "completion": {
488
+ "label": "DateOnly",
489
+ "detail": "DateOnly(dateValue) -> DateOnly",
490
+ "insertText": "DateOnly(${1:dateValue_})$0",
491
+ "insertTextMode": 2,
492
+ "insertTextFormat": 2,
493
+ "kind": 3,
494
+ "documentation": {
495
+ "kind": "markdown",
496
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Returnare versiune**: DateOnly"
497
+ }
498
+ },
499
+ "parametersInfo": {
500
+ "min": 1,
501
+ "max": 1
502
+ }
503
+ },
504
+ {
505
+ "type": "function",
506
+ "name": "dateonly",
507
+ "bundle": "core",
508
+ "sinceVersion": "1.24",
509
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
510
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
511
+ "examples": "\n##### Exemplu\n\nReturns the DateOnly from the number of milliseconds since January 1, 1970\n\n```arcade\nDateOnly(1476987783555);\n// returns 2016-10-20\n```\n\n",
512
+ "completion": {
513
+ "label": "DateOnly",
514
+ "detail": "DateOnly(epoch) -> DateOnly",
515
+ "insertText": "DateOnly(${1:epoch_})$0",
516
+ "insertTextMode": 2,
517
+ "insertTextFormat": 2,
518
+ "kind": 3,
519
+ "documentation": {
520
+ "kind": "markdown",
521
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parametru**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Returnare versiune**: DateOnly"
522
+ }
523
+ },
524
+ "parametersInfo": {
525
+ "min": 1,
526
+ "max": 1
527
+ }
528
+ },
529
+ {
530
+ "type": "function",
531
+ "name": "dateonly",
532
+ "bundle": "core",
533
+ "sinceVersion": "1.24",
534
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
535
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
536
+ "examples": "\n##### Exemplu\n\nCreates a DateOnly value from inputs representing the year, month, and day\n\n```arcade\nDateOnly(1996, 11, 10)\n// returns 1996-12-10\n```\n\n",
537
+ "completion": {
538
+ "label": "DateOnly",
539
+ "detail": "DateOnly(year, month, day) -> DateOnly",
540
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
541
+ "insertTextMode": 2,
542
+ "insertTextFormat": 2,
543
+ "kind": 3,
544
+ "documentation": {
545
+ "kind": "markdown",
546
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from inputs representing the year, month, and day.\n\n**Parametri**\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\n**Returnare versiune**: DateOnly"
547
+ }
548
+ },
549
+ "parametersInfo": {
550
+ "min": 3,
551
+ "max": 3
552
+ }
553
+ },
554
+ {
555
+ "type": "function",
556
+ "name": "dateonly",
557
+ "bundle": "core",
558
+ "sinceVersion": "1.24",
559
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
560
+ "description": "Creates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.",
561
+ "examples": "\n##### Exemple\n\nCreates a DateOnly value from a text value representing the date\n\n```arcade\nDateOnly(\"2023-05-11T13:43:18.990+01:00\");\n// returns 2023-05-11\n```\n\nCreates a DateOnly value from a text value representing the date in the given format\n\n```arcade\nDateOnly(\"10 Jan 2022\",\"D MMM Y\")\n// returns 2022-01-10\n```\n\n",
562
+ "completion": {
563
+ "label": "DateOnly",
564
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
565
+ "insertText": "DateOnly(${1:dateValue_})$0",
566
+ "insertTextMode": 2,
567
+ "insertTextFormat": 2,
568
+ "kind": 3,
569
+ "documentation": {
570
+ "kind": "markdown",
571
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a text input representing an ISO formatted date, or another formatted text with an additional input indicating the date's format.\n\n**Parametri**\n\n- **dateValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a date. This should either be an ISO formatted date or another formatted text representing a date. If this value does not follow ISO format, the `format` parameter must be defined indicating the date's format.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `dateValue` input. \nPossible values: \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\n\n**Returnare versiune**: DateOnly"
572
+ }
573
+ },
574
+ "parametersInfo": {
575
+ "min": 1,
576
+ "max": 2
577
+ }
578
+ },
579
+ {
580
+ "type": "function",
581
+ "name": "dateonly",
582
+ "bundle": "core",
583
+ "sinceVersion": "1.24",
584
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
585
+ "description": "Creates a copy of a DateOnly value.",
586
+ "examples": "\n##### Exemplu\n\nCreates a copy of DateOnly value\n\n```arcade\nvar originalDateOnly = DateOnly(1996,11,10)\nvar copiedDateOnly = DateOnly(originalDateOnly)\nreturn copiedDateOnly;\n```\n\n",
587
+ "completion": {
588
+ "label": "DateOnly",
589
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
590
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
591
+ "insertTextMode": 2,
592
+ "insertTextFormat": 2,
593
+ "kind": 3,
594
+ "documentation": {
595
+ "kind": "markdown",
596
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parametru**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Returnare versiune**: DateOnly"
597
+ }
598
+ },
599
+ "parametersInfo": {
600
+ "min": 1,
601
+ "max": 1
602
+ }
603
+ }
604
+ ],
274
605
  {
275
606
  "type": "function",
276
607
  "name": "day",
277
608
  "bundle": "core",
278
609
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
279
610
  "description": "Returnează ziua din lună a datei respective.",
280
- "examples": "\n##### Exemplu\n\nObține ziua din lună a datei curente\n\n```arcade\nDay(Now())\n```\n\n",
611
+ "examples": "\n##### Exemple\n\nObține ziua din lună a datei curente\n\n```arcade\nDay(Now())\n```\n\nReturns the day of the month from a DateOnly value\n\n```arcade\nDay(DateOnly(1996, 11, 10))\n// returns 10\n```\n\n",
281
612
  "completion": {
282
613
  "label": "Day",
283
614
  "detail": "Day(dateValue) -> Number",
@@ -287,7 +618,7 @@
287
618
  "kind": 3,
288
619
  "documentation": {
289
620
  "kind": "markdown",
290
- "value": "Returnează ziua din lună a datei respective.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține ziua din lună.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
621
+ "value": "Returnează ziua din lună a datei respective.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care se obține ziua din lună.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
291
622
  }
292
623
  },
293
624
  "parametersInfo": {
@@ -295,30 +626,57 @@
295
626
  "max": 1
296
627
  }
297
628
  },
298
- {
299
- "type": "function",
300
- "name": "hour",
301
- "bundle": "core",
302
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
303
- "description": "Returnează ora din data respectivă (0-23).",
304
- "examples": "\n##### Exemplu\n\nObține ora din ora curentă\n\n```arcade\nHour(Now())\n```\n\n",
305
- "completion": {
306
- "label": "Hour",
307
- "detail": "Hour(dateValue) -> Number",
308
- "insertText": "Hour(${1:dateValue_})$0",
309
- "insertTextMode": 2,
310
- "insertTextFormat": 2,
311
- "kind": 3,
312
- "documentation": {
313
- "kind": "markdown",
314
- "value": "Returnează ora din data respectivă (0-23).\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține ora.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
629
+ [
630
+ {
631
+ "type": "function",
632
+ "name": "hour",
633
+ "bundle": "core",
634
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
635
+ "description": "Returns the hour of the time in the given date (0-23).",
636
+ "examples": "\n##### Exemplu\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
637
+ "completion": {
638
+ "label": "Hour",
639
+ "detail": "Hour(dateValue) -> Number",
640
+ "insertText": "Hour(${1:dateValue_})$0",
641
+ "insertTextMode": 2,
642
+ "insertTextFormat": 2,
643
+ "kind": 3,
644
+ "documentation": {
645
+ "kind": "markdown",
646
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the hour of the time.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
647
+ }
648
+ },
649
+ "parametersInfo": {
650
+ "min": 1,
651
+ "max": 1
315
652
  }
316
653
  },
317
- "parametersInfo": {
318
- "min": 1,
319
- "max": 1
654
+ {
655
+ "type": "function",
656
+ "name": "hour",
657
+ "bundle": "core",
658
+ "sinceVersion": "1.24",
659
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
660
+ "description": "Returns the hour of the given time (0-23).",
661
+ "examples": "\n##### Exemplu\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
662
+ "completion": {
663
+ "label": "Hour",
664
+ "detail": "Hour(timeValue) -> Number",
665
+ "insertText": "Hour(${1:timeValue_})$0",
666
+ "insertTextMode": 2,
667
+ "insertTextFormat": 2,
668
+ "kind": 3,
669
+ "documentation": {
670
+ "kind": "markdown",
671
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parametru**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
672
+ }
673
+ },
674
+ "parametersInfo": {
675
+ "min": 1,
676
+ "max": 1
677
+ }
320
678
  }
321
- },
679
+ ],
322
680
  {
323
681
  "type": "function",
324
682
  "name": "isomonth",
@@ -326,7 +684,7 @@
326
684
  "sinceVersion": "1.12",
327
685
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
328
686
  "description": "Returnează luna datei specificate, pe baza standardului ISO 8601. Valorile se înscriu în intervalul 1-12 unde ianuarie este `1` iar decembrie este `12`.",
329
- "examples": "\n##### Exemplu\n\nObține luna datei specificate, pe baza standardului ISO 8601. Returnează `12`, pentru luna decembrie.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
687
+ "examples": "\n##### Exemple\n\nObține luna datei specificate, pe baza standardului ISO 8601. Returnează `12`, pentru luna decembrie.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\nGets the month of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOMonth(DateOnly(1996, 0, 10))\n// returns 1, for January\n```\n\n",
330
688
  "completion": {
331
689
  "label": "ISOMonth",
332
690
  "detail": "ISOMonth(dateValue) -> Number",
@@ -336,7 +694,7 @@
336
694
  "kind": 3,
337
695
  "documentation": {
338
696
  "kind": "markdown",
339
- "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează luna datei specificate, pe baza standardului ISO 8601. Valorile se înscriu în intervalul 1-12 unde ianuarie este `1` iar decembrie este `12`.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține luna.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
697
+ "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează luna datei specificate, pe baza standardului ISO 8601. Valorile se înscriu în intervalul 1-12 unde ianuarie este `1` iar decembrie este `12`.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care se obține luna.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
340
698
  }
341
699
  },
342
700
  "parametersInfo": {
@@ -351,7 +709,7 @@
351
709
  "sinceVersion": "1.12",
352
710
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
353
711
  "description": "Returnează săptămâna din anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601. Valorile se înscriu în intervalul 1-53, unde prima săptămână a anului este `1` iar ultima săptămână a anului este `52` sau `53`, în funcție de an.",
354
- "examples": "\n##### Exemplu\n\nObține săptămâna datei specificate, pe baza standardului ISO 8601. Returnează `1`, din moment ce data este inclusă în prima săptămână a anului următor.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
712
+ "examples": "\n##### Exemple\n\nObține săptămâna datei specificate, pe baza standardului ISO 8601. Returnează `1`, din moment ce data este inclusă în prima săptămână a anului următor.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\nGets the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeek(DateOnly(1996, 11, 10))\n// returns 50\n```\n\n",
355
713
  "completion": {
356
714
  "label": "ISOWeek",
357
715
  "detail": "ISOWeek(dateValue) -> Number",
@@ -361,7 +719,7 @@
361
719
  "kind": 3,
362
720
  "documentation": {
363
721
  "kind": "markdown",
364
- "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează săptămâna din anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601. Valorile se înscriu în intervalul 1-53, unde prima săptămână a anului este `1` iar ultima săptămână a anului este `52` sau `53`, în funcție de an.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obţine săptămâna.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
722
+ "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează săptămâna din anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601. Valorile se înscriu în intervalul 1-53, unde prima săptămână a anului este `1` iar ultima săptămână a anului este `52` sau `53`, în funcție de an.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care se obţine săptămâna.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
365
723
  }
366
724
  },
367
725
  "parametersInfo": {
@@ -376,7 +734,7 @@
376
734
  "sinceVersion": "1.12",
377
735
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
378
736
  "description": "Returnează ziua săptămânii datei specificate, pe baza standardului ISO 8601. Valorile se înscriu în intervalul 1-7, unde luni este `1` iar duminică este `7`.",
379
- "examples": "\n##### Exemplu\n\nReturnează ziua săptămânii datei specificate, pe baza standardului ISO 8601. Returnează `3` pentru miercuri.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
737
+ "examples": "\n##### Exemple\n\nReturnează ziua săptămânii datei specificate, pe baza standardului ISO 8601. Returnează `3` pentru miercuri.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value, based on the ISO 8601 standard.\n\n```arcade\nISOWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
380
738
  "completion": {
381
739
  "label": "ISOWeekday",
382
740
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -386,7 +744,7 @@
386
744
  "kind": 3,
387
745
  "documentation": {
388
746
  "kind": "markdown",
389
- "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează ziua săptămânii datei specificate, pe baza standardului ISO 8601. Valorile se înscriu în intervalul 1-7, unde luni este `1` iar duminică este `7`.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care să fie returnată ziua din săptămână.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
747
+ "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează ziua săptămânii datei specificate, pe baza standardului ISO 8601. Valorile se înscriu în intervalul 1-7, unde luni este `1` iar duminică este `7`.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care să fie returnată ziua din săptămână.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
390
748
  }
391
749
  },
392
750
  "parametersInfo": {
@@ -401,65 +759,17 @@
401
759
  "sinceVersion": "1.12",
402
760
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
403
761
  "description": "Returnează anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601.",
404
- "examples": "\n##### Exemplu\n\nObține anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601. Returnează `1981`, din moment ce această dată este inclusă în prima săptămână a anului următor.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
762
+ "examples": "\n##### Exemple\n\nObține anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601. Returnează `1981`, din moment ce această dată este inclusă în prima săptămână a anului următor.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\nGets the year of the given DateOnly value, based on the ISO 8601 week date calendar.\n\n```arcade\nISOYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
405
763
  "completion": {
406
764
  "label": "ISOYear",
407
- "detail": "ISOYear(dateValue) -> Number",
408
- "insertText": "ISOYear(${1:dateValue_})$0",
409
- "insertTextMode": 2,
410
- "insertTextFormat": 2,
411
- "kind": 3,
412
- "documentation": {
413
- "kind": "markdown",
414
- "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține anul.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
415
- }
416
- },
417
- "parametersInfo": {
418
- "min": 1,
419
- "max": 1
420
- }
421
- },
422
- {
423
- "type": "function",
424
- "name": "millisecond",
425
- "bundle": "core",
426
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
427
- "description": "Returnează milisecunda din ora din dată.",
428
- "examples": "\n##### Exemplu\n\nObține milisecunda din ora curentă\n\n```arcade\nMillisecond(Now())\n```\n\n",
429
- "completion": {
430
- "label": "Millisecond",
431
- "detail": "Millisecond(dateValue) -> Number",
432
- "insertText": "Millisecond(${1:dateValue_})$0",
433
- "insertTextMode": 2,
434
- "insertTextFormat": 2,
435
- "kind": 3,
436
- "documentation": {
437
- "kind": "markdown",
438
- "value": "Returnează milisecunda din ora din dată.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține milisecunda din oră.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
439
- }
440
- },
441
- "parametersInfo": {
442
- "min": 1,
443
- "max": 1
444
- }
445
- },
446
- {
447
- "type": "function",
448
- "name": "minute",
449
- "bundle": "core",
450
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
451
- "description": "Returnează minutul din ora din dată.",
452
- "examples": "\n##### Exemplu\n\nObține minutul din ora curentă\n\n```arcade\nMinute(Now())\n```\n\n",
453
- "completion": {
454
- "label": "Minute",
455
- "detail": "Minute(dateValue) -> Number",
456
- "insertText": "Minute(${1:dateValue_})$0",
765
+ "detail": "ISOYear(dateValue) -> Number",
766
+ "insertText": "ISOYear(${1:dateValue_})$0",
457
767
  "insertTextMode": 2,
458
768
  "insertTextFormat": 2,
459
769
  "kind": 3,
460
770
  "documentation": {
461
771
  "kind": "markdown",
462
- "value": "Returnează minutul din ora din dată.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține minutul din oră.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
772
+ "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează anul datei specificate, pe baza calendarului cu data săptămânii ISO 8601.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care se obține anul.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
463
773
  }
464
774
  },
465
775
  "parametersInfo": {
@@ -467,13 +777,115 @@
467
777
  "max": 1
468
778
  }
469
779
  },
780
+ [
781
+ {
782
+ "type": "function",
783
+ "name": "millisecond",
784
+ "bundle": "core",
785
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
786
+ "description": "Returns the millisecond of the time in the date.",
787
+ "examples": "\n##### Exemplu\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
788
+ "completion": {
789
+ "label": "Millisecond",
790
+ "detail": "Millisecond(dateValue) -> Number",
791
+ "insertText": "Millisecond(${1:dateValue_})$0",
792
+ "insertTextMode": 2,
793
+ "insertTextFormat": 2,
794
+ "kind": 3,
795
+ "documentation": {
796
+ "kind": "markdown",
797
+ "value": "Returns the millisecond of the time in the date.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the millisecond of the time.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
798
+ }
799
+ },
800
+ "parametersInfo": {
801
+ "min": 1,
802
+ "max": 1
803
+ }
804
+ },
805
+ {
806
+ "type": "function",
807
+ "name": "millisecond",
808
+ "bundle": "core",
809
+ "sinceVersion": "1.24",
810
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
811
+ "description": "Returns the millisecond of the given time.",
812
+ "examples": "\n##### Exemplu\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
813
+ "completion": {
814
+ "label": "Millisecond",
815
+ "detail": "Millisecond(timeValue) -> Number",
816
+ "insertText": "Millisecond(${1:timeValue_})$0",
817
+ "insertTextMode": 2,
818
+ "insertTextFormat": 2,
819
+ "kind": 3,
820
+ "documentation": {
821
+ "kind": "markdown",
822
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parametru**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
823
+ }
824
+ },
825
+ "parametersInfo": {
826
+ "min": 1,
827
+ "max": 1
828
+ }
829
+ }
830
+ ],
831
+ [
832
+ {
833
+ "type": "function",
834
+ "name": "minute",
835
+ "bundle": "core",
836
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
837
+ "description": "Returns the minute of the time in the given date.",
838
+ "examples": "\n##### Exemplu\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
839
+ "completion": {
840
+ "label": "Minute",
841
+ "detail": "Minute(dateValue) -> Number",
842
+ "insertText": "Minute(${1:dateValue_})$0",
843
+ "insertTextMode": 2,
844
+ "insertTextFormat": 2,
845
+ "kind": 3,
846
+ "documentation": {
847
+ "kind": "markdown",
848
+ "value": "Returns the minute of the time in the given date.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the minute of the time.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
849
+ }
850
+ },
851
+ "parametersInfo": {
852
+ "min": 1,
853
+ "max": 1
854
+ }
855
+ },
856
+ {
857
+ "type": "function",
858
+ "name": "minute",
859
+ "bundle": "core",
860
+ "sinceVersion": "1.24",
861
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
862
+ "description": "Returns the minute of the given time.",
863
+ "examples": "\n##### Exemplu\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
864
+ "completion": {
865
+ "label": "Minute",
866
+ "detail": "Minute(timeValue) -> Number",
867
+ "insertText": "Minute(${1:timeValue_})$0",
868
+ "insertTextMode": 2,
869
+ "insertTextFormat": 2,
870
+ "kind": 3,
871
+ "documentation": {
872
+ "kind": "markdown",
873
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parametru**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
874
+ }
875
+ },
876
+ "parametersInfo": {
877
+ "min": 1,
878
+ "max": 1
879
+ }
880
+ }
881
+ ],
470
882
  {
471
883
  "type": "function",
472
884
  "name": "month",
473
885
  "bundle": "core",
474
886
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
475
887
  "description": "Returnează luna din data respectivă. Valorile se încadrează în intervalul 0-11, unde ianuarie este „0” și decembrie este „11”.",
476
- "examples": "\n##### Exemplu\n\nObţine luna unei Date specificate. Returnează 11, pentru luna decembrie.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
888
+ "examples": "\n##### Exemple\n\nObţine luna unei Date specificate. Returnează 11, pentru luna decembrie.\n\n```arcade\nMonth(Date(1980, 11, 31))\n// returns 11\n```\n\nGets the month of the given DateOnly value.\n\n```arcade\nMonth(DateOnly(1996, 0, 31))\n// returns 0, for the month of January\n```\n\n",
477
889
  "completion": {
478
890
  "label": "Month",
479
891
  "detail": "Month(dateValue) -> Number",
@@ -483,7 +895,7 @@
483
895
  "kind": 3,
484
896
  "documentation": {
485
897
  "kind": "markdown",
486
- "value": "Returnează luna din data respectivă. Valorile se încadrează în intervalul 0-11, unde ianuarie este „0” și decembrie este „11”.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține luna.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
898
+ "value": "Returnează luna din data respectivă. Valorile se încadrează în intervalul 0-11, unde ianuarie este „0” și decembrie este „11”.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care se obține luna.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
487
899
  }
488
900
  },
489
901
  "parametersInfo": {
@@ -515,23 +927,227 @@
515
927
  "max": 0
516
928
  }
517
929
  },
930
+ [
931
+ {
932
+ "type": "function",
933
+ "name": "second",
934
+ "bundle": "core",
935
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
936
+ "description": "Returns the second of the time in the date.",
937
+ "examples": "\n##### Exemplu\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
938
+ "completion": {
939
+ "label": "Second",
940
+ "detail": "Second(dateValue) -> Number",
941
+ "insertText": "Second(${1:dateValue_})$0",
942
+ "insertTextMode": 2,
943
+ "insertTextFormat": 2,
944
+ "kind": 3,
945
+ "documentation": {
946
+ "kind": "markdown",
947
+ "value": "Returns the second of the time in the date.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the second of the time.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
948
+ }
949
+ },
950
+ "parametersInfo": {
951
+ "min": 1,
952
+ "max": 1
953
+ }
954
+ },
955
+ {
956
+ "type": "function",
957
+ "name": "second",
958
+ "bundle": "core",
959
+ "sinceVersion": "1.24",
960
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
961
+ "description": "Returns the second of the given time.",
962
+ "examples": "\n##### Exemplu\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
963
+ "completion": {
964
+ "label": "Second",
965
+ "detail": "Second(timeValue) -> Number",
966
+ "insertText": "Second(${1:timeValue_})$0",
967
+ "insertTextMode": 2,
968
+ "insertTextFormat": 2,
969
+ "kind": 3,
970
+ "documentation": {
971
+ "kind": "markdown",
972
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parametru**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
973
+ }
974
+ },
975
+ "parametersInfo": {
976
+ "min": 1,
977
+ "max": 1
978
+ }
979
+ }
980
+ ],
981
+ [
982
+ {
983
+ "type": "function",
984
+ "name": "time",
985
+ "bundle": "core",
986
+ "sinceVersion": "1.24",
987
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
988
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
989
+ "examples": "\n##### Exemplu\n\nReturns the current time displayed using the profile's default time zone\n\n```arcade\n// Time represents 12:41:20 PM\nTime()\n```\n\n",
990
+ "completion": {
991
+ "label": "Time",
992
+ "detail": "Time() -> Time",
993
+ "insertText": "Time($0)",
994
+ "insertTextMode": 2,
995
+ "insertTextFormat": 2,
996
+ "kind": 3,
997
+ "documentation": {
998
+ "kind": "markdown",
999
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value representing the current time in the time zone of the profile's execution context.\n\n**Returnare versiune**: Time"
1000
+ }
1001
+ },
1002
+ "parametersInfo": {
1003
+ "min": 0,
1004
+ "max": 0
1005
+ }
1006
+ },
1007
+ {
1008
+ "type": "function",
1009
+ "name": "time",
1010
+ "bundle": "core",
1011
+ "sinceVersion": "1.24",
1012
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
1013
+ "description": "Creates a Time value from a given date.",
1014
+ "examples": "\n##### Exemplu\n\nReturns the Time from the given date\n\n```arcade\nTime(Date(2008,10,11,10,30));\n// returns a Time value of 10:30:00 AM\n```\n\n",
1015
+ "completion": {
1016
+ "label": "Time",
1017
+ "detail": "Time(dateValue) -> Time",
1018
+ "insertText": "Time(${1:dateValue_})$0",
1019
+ "insertTextMode": 2,
1020
+ "insertTextFormat": 2,
1021
+ "kind": 3,
1022
+ "documentation": {
1023
+ "kind": "markdown",
1024
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Returnare versiune**: Time"
1025
+ }
1026
+ },
1027
+ "parametersInfo": {
1028
+ "min": 1,
1029
+ "max": 1
1030
+ }
1031
+ },
1032
+ {
1033
+ "type": "function",
1034
+ "name": "time",
1035
+ "bundle": "core",
1036
+ "sinceVersion": "1.24",
1037
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
1038
+ "description": "Creates a Time value from a given number representing milliseconds since midnight. If the input value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.",
1039
+ "examples": "\n##### Exemple\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(8119800);\n// returns a Time value of 02:15:19.800\n```\n\nReturns the Time from the number of milliseconds since midnight\n\n```arcade\nTime(86400001);\n// returns null - the input value exceeds the number of milliseconds in a day\n```\n\n",
1040
+ "completion": {
1041
+ "label": "Time",
1042
+ "detail": "Time(numValue) -> Time",
1043
+ "insertText": "Time(${1:numValue_})$0",
1044
+ "insertTextMode": 2,
1045
+ "insertTextFormat": 2,
1046
+ "kind": 3,
1047
+ "documentation": {
1048
+ "kind": "markdown",
1049
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given number representing milliseconds since midnight. If the input value is larger than 86,400,000 (the maximum number of milliseconds in a day) or less than 0, the function will return `null`.\n\n**Parametru**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Returnare versiune**: Time"
1050
+ }
1051
+ },
1052
+ "parametersInfo": {
1053
+ "min": 1,
1054
+ "max": 1
1055
+ }
1056
+ },
1057
+ {
1058
+ "type": "function",
1059
+ "name": "time",
1060
+ "bundle": "core",
1061
+ "sinceVersion": "1.24",
1062
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
1063
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
1064
+ "examples": "\n##### Exemplu\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds\n\n```arcade\nTime(13, 20);\n// returns a Time value of 13:20:00\n \nTime(2, 59, 23)\n// returns a Time value of 02:59:23\n \nTime(15, 47, 0, 474)\n// returns a Time value of 15:47:00.474\n```\n\n",
1065
+ "completion": {
1066
+ "label": "Time",
1067
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
1068
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
1069
+ "insertTextMode": 2,
1070
+ "insertTextFormat": 2,
1071
+ "kind": 3,
1072
+ "documentation": {
1073
+ "kind": "markdown",
1074
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from inputs representing hours, minutes, seconds, and milliseconds.\n\n**Parametri**\n\n- **hours**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing hours of the Time value (0-23).\n- **minutes**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the minutes of the Time value (0-59).\n- **seconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the seconds of the Time value (0-59).\n- **milliseconds** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number representing the milliseconds of the Time value (0-999).\n\n**Returnare versiune**: Time"
1075
+ }
1076
+ },
1077
+ "parametersInfo": {
1078
+ "min": 2,
1079
+ "max": 4
1080
+ }
1081
+ },
1082
+ {
1083
+ "type": "function",
1084
+ "name": "time",
1085
+ "bundle": "core",
1086
+ "sinceVersion": "1.24",
1087
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
1088
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
1089
+ "examples": "\n##### Exemple\n\nCreates a Time value from a text value representing the time\n\n```arcade\nTime(\"1:20 PM\");\n// returns a Time value of 13:20:00\n```\n\nCreates a Time value from a text value representing the time and formatting\n\n```arcade\nTime(\"12 05 04\", \"HH MM ss\")\n// returns a Time value of 12:05:04\n```\n\n",
1090
+ "completion": {
1091
+ "label": "Time",
1092
+ "detail": "Time(timeValue, format?) -> Time",
1093
+ "insertText": "Time(${1:timeValue_})$0",
1094
+ "insertTextMode": 2,
1095
+ "insertTextFormat": 2,
1096
+ "kind": 3,
1097
+ "documentation": {
1098
+ "kind": "markdown",
1099
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a text input representing time, with an optional input indicating the text's format.\n\n**Parametri**\n\n- **timeValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value representing a time.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A text value indicating the format of the `timeValue` input. \nPossible values: \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 - `A`: AM/PM \n\n\n**Returnare versiune**: Time"
1100
+ }
1101
+ },
1102
+ "parametersInfo": {
1103
+ "min": 1,
1104
+ "max": 2
1105
+ }
1106
+ }
1107
+ ],
1108
+ {
1109
+ "type": "function",
1110
+ "name": "timestamp",
1111
+ "bundle": "core",
1112
+ "sinceVersion": "1.1",
1113
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1114
+ "description": "Creează o valoare de dată reprezentând data și ora curente UTC.",
1115
+ "examples": "\n##### Exemplu\n\nCreează o dată în ora UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1116
+ "completion": {
1117
+ "label": "Timestamp",
1118
+ "detail": "Timestamp() -> Date",
1119
+ "insertText": "Timestamp($0)",
1120
+ "insertTextMode": 2,
1121
+ "insertTextFormat": 2,
1122
+ "kind": 3,
1123
+ "documentation": {
1124
+ "kind": "markdown",
1125
+ "value": "**[De la versiune 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreează o valoare de dată reprezentând data și ora curente UTC.\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1126
+ }
1127
+ },
1128
+ "parametersInfo": {
1129
+ "min": 0,
1130
+ "max": 0
1131
+ }
1132
+ },
518
1133
  {
519
1134
  "type": "function",
520
- "name": "second",
1135
+ "name": "timezone",
521
1136
  "bundle": "core",
522
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
523
- "description": "Returnează secunda din ora din dată.",
524
- "examples": "\n##### Exemplu\n\nObține secunda din ora curentă\n\n```arcade\nSecond(Now())\n```\n\n",
1137
+ "sinceVersion": "1.24",
1138
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1139
+ "description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n",
1140
+ "examples": "\n##### Exemplu\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",
525
1141
  "completion": {
526
- "label": "Second",
527
- "detail": "Second(dateValue) -> Number",
528
- "insertText": "Second(${1:dateValue_})$0",
1142
+ "label": "TimeZone",
1143
+ "detail": "TimeZone(dateValue) -> Text",
1144
+ "insertText": "TimeZone(${1:dateValue_})$0",
529
1145
  "insertTextMode": 2,
530
1146
  "insertTextFormat": 2,
531
1147
  "kind": 3,
532
1148
  "documentation": {
533
1149
  "kind": "markdown",
534
- "value": "Returnează secunda din ora din dată.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține secunda din oră.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1150
+ "value": "**[De la versiune 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- text representing an entry in the [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) (i.e. `America/New_York`)\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n- `system` - time zone will be based on the client or system's local time zone \n- `UTC`\n- `unknown`\n\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Returnare versiune**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
535
1151
  }
536
1152
  },
537
1153
  "parametersInfo": {
@@ -541,27 +1157,27 @@
541
1157
  },
542
1158
  {
543
1159
  "type": "function",
544
- "name": "timestamp",
1160
+ "name": "timezoneoffset",
545
1161
  "bundle": "core",
546
- "sinceVersion": "1.1",
547
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
548
- "description": "Creează o valoare de dată reprezentând data și ora curente UTC.",
549
- "examples": "\n##### Exemplu\n\nCreează o dată în ora UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1162
+ "sinceVersion": "1.24",
1163
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
1164
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
1165
+ "examples": "\n##### Exemplu\n\nReturns the time zone offset in minutes from UTC\n\n```arcade\nvar inputDate = Date(2011, 10, 11, 8, 0, 0, 0, \"America/New_York\")\nTimeZoneOffset(inputDate);\n// returns -18000000\n```\n\n",
550
1166
  "completion": {
551
- "label": "Timestamp",
552
- "detail": "Timestamp() -> Date",
553
- "insertText": "Timestamp($0)",
1167
+ "label": "TimeZoneOffset",
1168
+ "detail": "TimeZoneOffset(dateValue) -> Number",
1169
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
554
1170
  "insertTextMode": 2,
555
1171
  "insertTextFormat": 2,
556
1172
  "kind": 3,
557
1173
  "documentation": {
558
1174
  "kind": "markdown",
559
- "value": "**[De la versiune 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreează o valoare de dată reprezentând data și ora curente UTC.\n\n**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1175
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone offset in minutes from UTC for the given Date.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone offset.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
560
1176
  }
561
1177
  },
562
1178
  "parametersInfo": {
563
- "min": 0,
564
- "max": 0
1179
+ "min": 1,
1180
+ "max": 1
565
1181
  }
566
1182
  },
567
1183
  {
@@ -645,7 +1261,7 @@
645
1261
  "sinceVersion": "1.14",
646
1262
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
647
1263
  "description": "Returnează numărul săptămânii din anul datei respective. Valorile se înscriu în intervalul 0-53, unde prima săptămână a anului este `0` iar ultima săptămână a anului este „51”, „52” sau „53”, în funcție de an. Este posibil ca prima și ultima săptămă să nu aibă o durată completă de șapte zile.",
648
- "examples": "\n##### Exemple\n\nFolosiți începutul de săptămână implicit (Duminică)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nSetați începutul de săptămână la joi\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nSetați începutul de săptămână la vineri\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\n",
1264
+ "examples": "\n##### Exemple\n\nFolosiți începutul de săptămână implicit (Duminică)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nSetați începutul de săptămână la joi\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nSetați începutul de săptămână la vineri\n\n```arcade\nWeek( Date(1974,0,3), 5 )\n// Returns 0\n```\n\n\n\n```arcade\nWeek( Date(1945,8,23) )\n// Returns 38\n```\n\n\n\n```arcade\nWeek( Date(2022,7,20) )\n// Returns 33\n```\n\nReturns the week from the DateOnly value\n\n```arcade\nWeek(DateOnly(1996, 11, 10))\n// returns 49\n```\n\n",
649
1265
  "completion": {
650
1266
  "label": "Week",
651
1267
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -655,7 +1271,7 @@
655
1271
  "kind": 3,
656
1272
  "documentation": {
657
1273
  "kind": "markdown",
658
- "value": "**[De la versiune 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează numărul săptămânii din anul datei respective. Valorile se înscriu în intervalul 0-53, unde prima săptămână a anului este `0` iar ultima săptămână a anului este „51”, „52” sau „53”, în funcție de an. Este posibil ca prima și ultima săptămă să nu aibă o durată completă de șapte zile.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obţine săptămâna.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un număr reprezentând ziua de început a săptămânii. Duminică = 0; Luni = 1; Marți = 2; Miercuri = 3; Joi = 4; Vineri = 5; Sâmbătă = 6. Valoarea implicită este `0` (Duminică).\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1274
+ "value": "**[De la versiune 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnează numărul săptămânii din anul datei respective. Valorile se înscriu în intervalul 0-53, unde prima săptămână a anului este `0` iar ultima săptămână a anului este „51”, „52” sau „53”, în funcție de an. Este posibil ca prima și ultima săptămă să nu aibă o durată completă de șapte zile.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care se obţine săptămâna.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un număr reprezentând ziua de început a săptămânii. Duminică = 0; Luni = 1; Marți = 2; Miercuri = 3; Joi = 4; Vineri = 5; Sâmbătă = 6. Valoarea implicită este `0` (Duminică).\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
659
1275
  }
660
1276
  },
661
1277
  "parametersInfo": {
@@ -669,7 +1285,7 @@
669
1285
  "bundle": "core",
670
1286
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
671
1287
  "description": "Returnează ziua săptămânii din data specificată. Valorile se înscriu în intervalul 0-6, unde luni este „0”, iar duminică este „6”.",
672
- "examples": "\n##### Exemplu\n\nReturnează ziua săptămânii din data specificată. Returnează `3` pentru miercuri.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
1288
+ "examples": "\n##### Exemple\n\nReturnează ziua săptămânii din data specificată. Returnează `3` pentru miercuri.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\nReturns the day of the week of the given DateOnly value.\n\n```arcade\nWeekday(DateOnly(1996, 11, 10))\n// returns 2, for Tuesday\n```\n\n",
673
1289
  "completion": {
674
1290
  "label": "Weekday",
675
1291
  "detail": "Weekday(dateValue) -> Number",
@@ -679,7 +1295,7 @@
679
1295
  "kind": 3,
680
1296
  "documentation": {
681
1297
  "kind": "markdown",
682
- "value": "Returnează ziua săptămânii din data specificată. Valorile se înscriu în intervalul 0-6, unde luni este „0”, iar duminică este „6”.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care să fie returnată ziua din săptămână.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1298
+ "value": "Returnează ziua săptămânii din data specificată. Valorile se înscriu în intervalul 0-6, unde luni este „0”, iar duminică este „6”.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care să fie returnată ziua din săptămână.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
683
1299
  }
684
1300
  },
685
1301
  "parametersInfo": {
@@ -693,7 +1309,7 @@
693
1309
  "bundle": "core",
694
1310
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
695
1311
  "description": "Returnează anul din data respectivă.",
696
- "examples": "\n##### Exemplu\n\nObține anul din data curentă\n\n```arcade\nYear(Now())\n```\n\n",
1312
+ "examples": "\n##### Exemple\n\nObține anul din data curentă\n\n```arcade\nYear(Now())\n```\n\nGets the year of the given DateOnly value\n\n```arcade\nYear(DateOnly(1996, 11, 10))\n// returns 1996\n```\n\n",
697
1313
  "completion": {
698
1314
  "label": "Year",
699
1315
  "detail": "Year(dateValue) -> Number",
@@ -703,7 +1319,7 @@
703
1319
  "kind": 3,
704
1320
  "documentation": {
705
1321
  "kind": "markdown",
706
- "value": "Returnează anul din data respectivă.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - O valoare de dată din care se obține anul.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1322
+ "value": "Returnează anul din data respectivă.\n\n**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - O valoare de dată din care se obține anul.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
707
1323
  }
708
1324
  },
709
1325
  "parametersInfo": {
@@ -4163,6 +4779,31 @@
4163
4779
  "max": 4
4164
4780
  }
4165
4781
  },
4782
+ {
4783
+ "type": "function",
4784
+ "name": "featuresetbyrelationshipclass",
4785
+ "bundle": "data-access",
4786
+ "sinceVersion": "1.24",
4787
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
4788
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
4789
+ "examples": "\n##### Exemplu\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
4790
+ "completion": {
4791
+ "label": "FeatureSetByRelationshipClass",
4792
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
4793
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
4794
+ "insertTextMode": 2,
4795
+ "insertTextFormat": 2,
4796
+ "kind": 3,
4797
+ "documentation": {
4798
+ "kind": "markdown",
4799
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature as a FeatureSet based on the class name of the relationship.\n\n**Parametri**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records. This feature must come from a feature service; feature collections are not supported.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The class name of the relationship according to the feature service associated with the given feature.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Returnare versiune**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
4800
+ }
4801
+ },
4802
+ "parametersInfo": {
4803
+ "min": 2,
4804
+ "max": 4
4805
+ }
4806
+ },
4166
4807
  {
4167
4808
  "type": "function",
4168
4809
  "name": "featuresetbyrelationshipname",
@@ -4887,6 +5528,31 @@
4887
5528
  "max": 2
4888
5529
  }
4889
5530
  },
5531
+ {
5532
+ "type": "function",
5533
+ "name": "equals",
5534
+ "bundle": "core",
5535
+ "sinceVersion": "1.24",
5536
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
5537
+ "description": "Indicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.",
5538
+ "examples": "\n##### Exemplu\n\nCompares if two values are equal\n\n```arcade\nEquals(1, \"1\") // returns false\n\nvar testVal = \"test\";\nEquals(testVal, \"test\") // returns true\n\nvar array1 = Array(5);\nvar array2 = Array(5);\nEquals(array1, array2); // returns false\nEquals(array1, array1); // returns true\n```\n\n",
5539
+ "completion": {
5540
+ "label": "Equals",
5541
+ "detail": "Equals(value1, value2) -> Boolean",
5542
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
5543
+ "insertTextMode": 2,
5544
+ "insertTextFormat": 2,
5545
+ "kind": 3,
5546
+ "documentation": {
5547
+ "kind": "markdown",
5548
+ "value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates if two values are equal. Object types (i.e. Arrays, Features, Dictionaries, Geometry) will return true only if they are the same object.\n\n**Parametri**\n\n- **value1**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The first input value.\n- **value2**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - The second input value.\n\n**Returnare versiune**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5549
+ }
5550
+ },
5551
+ "parametersInfo": {
5552
+ "min": 2,
5553
+ "max": 2
5554
+ }
5555
+ },
4890
5556
  {
4891
5557
  "type": "function",
4892
5558
  "name": "iif",
@@ -5322,7 +5988,7 @@
5322
5988
  "kind": 3,
5323
5989
  "documentation": {
5324
5990
  "kind": "markdown",
5325
- "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenerează o valoare de cod hash pentru variabila dată.\n\n**Parametru**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Variabila de supus hashing-ului.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5991
+ "value": "**[De la versiune 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenerează o valoare de cod hash pentru variabila dată.\n\n**Parametru**\n\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) \\| [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| DateOnly \\| Time - Variabila de supus hashing-ului.\n\n**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
5326
5992
  }
5327
5993
  },
5328
5994
  "parametersInfo": {
@@ -6531,7 +7197,7 @@
6531
7197
  "bundle": "core",
6532
7198
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
6533
7199
  "description": "Convertește argumentul său într-o valoare text de caractere și, opțional, îl formatează. Returnează `null` dacă eșuează.",
6534
- "examples": "\n##### Exemple\n\nAcoperă numărul din stânga zecimalei\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestricţionează numărul din stânga zecimalei\n\n```arcade\nText(123, '00') // '23'\n```\n\nGrupează numerele după mii\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nRotunjeşte numărul la două zecimale\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\nRotunjeşte numărul la două zecimale\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMenţine cifrele semnificative şi grupează după mii\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormataţi numărul şi formataţi pozitiv/negativ - dacă există un submodel negativ, acesta serveşte doar pentru specificare prefixului şi sufixului negativ\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nÎnmulţiţi cu 100 şi formataţi ca procentaj\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatează data și ora din respectivul moment, de ex. „Marți, 25 octombrie 2016 @ 08:43:11”\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nDatele stocate în câmpul „datetime” reprezintă deja ora locală, dar Arcade presupune că este în fusul orar UTC Decalează ora locală în fusul orar UTC pentru a evita aplicarea decalajului de fus orar de două ori.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
7200
+ "examples": "\n##### Exemple\n\nAcoperă numărul din stânga zecimalei\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestricţionează numărul din stânga zecimalei\n\n```arcade\nText(123, '00') // '23'\n```\n\nGrupează numerele după mii\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nRotunjeşte numărul la două zecimale\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\nRotunjeşte numărul la două zecimale\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMenţine cifrele semnificative şi grupează după mii\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nFormataţi numărul şi formataţi pozitiv/negativ - dacă există un submodel negativ, acesta serveşte doar pentru specificare prefixului şi sufixului negativ\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nÎnmulţiţi cu 100 şi formataţi ca procentaj\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatează data și ora din respectivul moment, de ex. „Marți, 25 octombrie 2016 @ 08:43:11”\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nDatele stocate în câmpul „datetime” reprezintă deja ora locală, dar Arcade presupune că este în fusul orar UTC Decalează ora locală în fusul orar UTC pentru a evita aplicarea decalajului de fus orar de două ori.\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",
6535
7201
  "completion": {
6536
7202
  "label": "Text",
6537
7203
  "detail": "Text(value, format?) -> Text",