@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
@@ -765,29 +765,54 @@
765
765
  "id": "date_functions",
766
766
  "title": "Funciones de fecha",
767
767
  "items": [
768
+ {
769
+ "type": "function",
770
+ "name": "changetimezone",
771
+ "bundle": "core",
772
+ "sinceVersion": "1.24",
773
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone",
774
+ "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`.",
775
+ "examples": "\n##### Ejemplos\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",
776
+ "completion": {
777
+ "label": "ChangeTimeZone",
778
+ "detail": "ChangeTimeZone(dateValue, newTimeZone) -> Date",
779
+ "insertText": "ChangeTimeZone(${1:dateValue_}, ${2:newTimeZone_})$0",
780
+ "insertTextMode": 2,
781
+ "insertTextFormat": 2,
782
+ "kind": 3,
783
+ "documentation": {
784
+ "kind": "markdown",
785
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parámetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. \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**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
786
+ }
787
+ },
788
+ "parametersInfo": {
789
+ "min": 2,
790
+ "max": 2
791
+ }
792
+ },
768
793
  [
769
794
  {
770
795
  "type": "function",
771
796
  "name": "date",
772
797
  "bundle": "core",
773
798
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date1",
774
- "description": "Crea un objeto Date a partir de una serie de parámetros. Las fechas se crean en la hora local del cliente o sistema de forma predeterminada.",
775
- "examples": "\n##### Ejemplos\n\nCrea una fecha que representa el tiempo proporcionado en la hora local del sistema en el que se ejecuta Arcade\n\n```arcade\n// Date that represents Jun 02, 1987, 12:00:00 AM PST\nDate(1987,05,02)\n```\n\nCrea una fecha que representa el tiempo actual en la hora local del sistema en el que se ejecuta Arcade\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
799
+ "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.",
800
+ "examples": "\n##### Ejemplos\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",
776
801
  "completion": {
777
802
  "label": "Date",
778
- "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?) -> Date",
803
+ "detail": "Date(year, month, day, hour?, minute?, second?, millisecond?, timeZone?) -> Date",
779
804
  "insertText": "Date(${1:year_}, ${2:month_}, ${3:day_})$0",
780
805
  "insertTextMode": 2,
781
806
  "insertTextFormat": 2,
782
807
  "kind": 3,
783
808
  "documentation": {
784
809
  "kind": "markdown",
785
- "value": "Crea un objeto Date a partir de una serie de parámetros. Las fechas se crean en la hora local del cliente o sistema de forma predeterminada.\n\n**Parámetros**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un número que representa un año.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El mes (0-11) donde `0` es enero y `11` es diciembre.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El día del mes (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La hora del día (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El minuto de la hora (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El segundo del minuto (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El milisegundo del segundo (0-999).\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
810
+ "value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parámetros**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. \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**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
786
811
  }
787
812
  },
788
813
  "parametersInfo": {
789
814
  "min": 3,
790
- "max": 7
815
+ "max": 8
791
816
  }
792
817
  },
793
818
  {
@@ -795,8 +820,8 @@
795
820
  "name": "date",
796
821
  "bundle": "core",
797
822
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
798
- "description": "Crea una fecha con el número de época de Unix en la zona horaria local del cliente o sistema.",
799
- "examples": "\n##### Ejemplo\n\nMilisegundos desde el 1 de enero de 1970\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n",
823
+ "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.",
824
+ "examples": "\n##### Ejemplos\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",
800
825
  "completion": {
801
826
  "label": "Date",
802
827
  "detail": "Date(epoch?) -> Date",
@@ -806,7 +831,7 @@
806
831
  "kind": 3,
807
832
  "documentation": {
808
833
  "kind": "markdown",
809
- "value": "Crea una fecha con el número de época de Unix en la zona horaria local del cliente o sistema.\n\n**Parámetro**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El número de milisegundos desde el 1 de enero de 1970 UTC.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
834
+ "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**Parámetro**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
810
835
  }
811
836
  },
812
837
  "parametersInfo": {
@@ -819,8 +844,8 @@
819
844
  "name": "date",
820
845
  "bundle": "core",
821
846
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date3",
822
- "description": "Convierte un valor de texto ISO 8601 en un objeto Date en la zona horaria local del cliente o sistema.",
823
- "examples": "\n##### Ejemplo\n\nValor de texto 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",
847
+ "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.",
848
+ "examples": "\n##### Ejemplos\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",
824
849
  "completion": {
825
850
  "label": "Date",
826
851
  "detail": "Date(timestamp?) -> Date",
@@ -830,70 +855,376 @@
830
855
  "kind": 3,
831
856
  "documentation": {
832
857
  "kind": "markdown",
833
- "value": "Convierte un valor de texto ISO 8601 en un objeto Date en la zona horaria local del cliente o sistema.\n\n**Parámetro**\n\n- **timestamp** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Un valor de texto ISO 8601 para convertir en una fecha.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
858
+ "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**Parámetro**\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**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
834
859
  }
835
860
  },
836
861
  "parametersInfo": {
837
862
  "min": 0,
838
863
  "max": 1
839
864
  }
865
+ },
866
+ {
867
+ "type": "function",
868
+ "name": "date",
869
+ "bundle": "core",
870
+ "sinceVersion": "1.24",
871
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date4",
872
+ "description": "Creates a Date from a DateOnly value, with an optional Time and time zone value.",
873
+ "examples": "\n##### Ejemplo\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",
874
+ "completion": {
875
+ "label": "Date",
876
+ "detail": "Date(dateOnlyValue, timeValue?, timeZone?) -> Date",
877
+ "insertText": "Date(${1:dateOnlyValue_})$0",
878
+ "insertTextMode": 2,
879
+ "insertTextFormat": 2,
880
+ "kind": 3,
881
+ "documentation": {
882
+ "kind": "markdown",
883
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parámetros**\n\n- **dateOnlyValue**: DateOnly - 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**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
884
+ }
885
+ },
886
+ "parametersInfo": {
887
+ "min": 1,
888
+ "max": 3
889
+ }
890
+ },
891
+ {
892
+ "type": "function",
893
+ "name": "date",
894
+ "bundle": "core",
895
+ "sinceVersion": "1.24",
896
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date5",
897
+ "description": "Creates a copy of the given Date.",
898
+ "examples": "\n##### Ejemplo\n\nCreates a copy of the current Date value\n\n```arcade\nvar copiedDate = Date(Now())\n```\n\n",
899
+ "completion": {
900
+ "label": "Date",
901
+ "detail": "Date(dateValue) -> Date",
902
+ "insertText": "Date(${1:dateValue_})$0",
903
+ "insertTextMode": 2,
904
+ "insertTextFormat": 2,
905
+ "kind": 3,
906
+ "documentation": {
907
+ "kind": "markdown",
908
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of the given Date.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date to copy.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
909
+ }
910
+ },
911
+ "parametersInfo": {
912
+ "min": 1,
913
+ "max": 1
914
+ }
840
915
  }
841
916
  ],
842
- {
843
- "type": "function",
844
- "name": "dateadd",
845
- "bundle": "core",
846
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd",
847
- "description": "Agrega una cantidad especificada de tiempo en las unidades dadas a una fecha y devuelve una nueva fecha.",
848
- "examples": "\n##### Ejemplo\n\nAgrega 7 días a la fecha del campo proporcionado\n\n```arcade\nvar startDate = Date($feature.dateField);\nvar oneWeekLater = DateAdd(startDate, 7, 'days');\nreturn oneWeekLater;\n```\n\n",
849
- "completion": {
850
- "label": "DateAdd",
851
- "detail": "DateAdd(dateValue, addValue, units?) -> Date",
852
- "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
853
- "insertTextMode": 2,
854
- "insertTextFormat": 2,
855
- "kind": 3,
856
- "documentation": {
857
- "kind": "markdown",
858
- "value": "Agrega una cantidad especificada de tiempo en las unidades dadas a una fecha y devuelve una nueva fecha.\n\n**Parámetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - La fecha de entrada a la que se agrega el tiempo.\n- **addValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El valor a agregar a la fecha en las unidades dadas.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Las unidades del número que se van a sumar a la fecha. Por defecto es 'milésimas de segundo'. Los tipos de unidades admitidas incluyen `milisegundos`, `segundos`, `minutos`, `horas`, `días`, `meses`, `años`\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
917
+ [
918
+ {
919
+ "type": "function",
920
+ "name": "dateadd",
921
+ "bundle": "core",
922
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd1",
923
+ "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.",
924
+ "examples": "\n##### Ejemplo\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",
925
+ "completion": {
926
+ "label": "DateAdd",
927
+ "detail": "DateAdd(dateValue, addValue, units?) -> Date",
928
+ "insertText": "DateAdd(${1:dateValue_}, ${2:addValue_})$0",
929
+ "insertTextMode": 2,
930
+ "insertTextFormat": 2,
931
+ "kind": 3,
932
+ "documentation": {
933
+ "kind": "markdown",
934
+ "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**Parámetros**\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**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
935
+ }
936
+ },
937
+ "parametersInfo": {
938
+ "min": 2,
939
+ "max": 3
859
940
  }
860
941
  },
861
- "parametersInfo": {
862
- "min": 2,
863
- "max": 3
942
+ {
943
+ "type": "function",
944
+ "name": "dateadd",
945
+ "bundle": "core",
946
+ "sinceVersion": "1.24",
947
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd2",
948
+ "description": "Adds a specified amount of time in the given units to a DateOnly value and returns a new DateOnly value.",
949
+ "examples": "\n##### Ejemplos\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",
950
+ "completion": {
951
+ "label": "DateAdd",
952
+ "detail": "DateAdd(dateOnlyValue, addValue, units?) -> DateOnly",
953
+ "insertText": "DateAdd(${1:dateOnlyValue_}, ${2:addValue_})$0",
954
+ "insertTextMode": 2,
955
+ "insertTextFormat": 2,
956
+ "kind": 3,
957
+ "documentation": {
958
+ "kind": "markdown",
959
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: DateOnly"
960
+ }
961
+ },
962
+ "parametersInfo": {
963
+ "min": 2,
964
+ "max": 3
965
+ }
966
+ },
967
+ {
968
+ "type": "function",
969
+ "name": "dateadd",
970
+ "bundle": "core",
971
+ "sinceVersion": "1.24",
972
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateadd3",
973
+ "description": "Adds a specified amount of time in the given units to a Time value and returns a new Time value.",
974
+ "examples": "\n##### Ejemplos\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",
975
+ "completion": {
976
+ "label": "DateAdd",
977
+ "detail": "DateAdd(timeValue, addValue, units?) -> Time",
978
+ "insertText": "DateAdd(${1:timeValue_}, ${2:addValue_})$0",
979
+ "insertTextMode": 2,
980
+ "insertTextFormat": 2,
981
+ "kind": 3,
982
+ "documentation": {
983
+ "kind": "markdown",
984
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: Time"
985
+ }
986
+ },
987
+ "parametersInfo": {
988
+ "min": 2,
989
+ "max": 3
990
+ }
864
991
  }
865
- },
866
- {
867
- "type": "function",
868
- "name": "datediff",
869
- "bundle": "core",
870
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff",
871
- "description": "Sustrae dos fechas y devuelve la diferencia en las unidades especificadas.",
872
- "examples": "\n##### Ejemplo\n\nSustrae dos fechas y devuelve la edad\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n",
873
- "completion": {
874
- "label": "DateDiff",
875
- "detail": "DateDiff(date1, date2, units?) -> Number",
876
- "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
877
- "insertTextMode": 2,
878
- "insertTextFormat": 2,
879
- "kind": 3,
880
- "documentation": {
881
- "kind": "markdown",
882
- "value": "Sustrae dos fechas y devuelve la diferencia en las unidades especificadas.\n\n**Parámetros**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - El valor de fecha desde el cual se sustrae una segunda fecha.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - El valor de fecha a sustraer desde la primera fecha dada.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Las unidades en las que se devuelve la diferencia entre las dos fechas dadas. Los tipos de unidades admitidas incluyen `milisegundos`, `segundos`, `minutos`, `horas`, `días`, `meses`, `años`. El valor predeterminado es `milisegundos`.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
992
+ ],
993
+ [
994
+ {
995
+ "type": "function",
996
+ "name": "datediff",
997
+ "bundle": "core",
998
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
999
+ "description": "Subtracts two Dates, and returns the difference in the specified units.",
1000
+ "examples": "\n##### Ejemplos\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",
1001
+ "completion": {
1002
+ "label": "DateDiff",
1003
+ "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
1004
+ "insertText": "DateDiff(${1:date1_}, ${2:date2_})$0",
1005
+ "insertTextMode": 2,
1006
+ "insertTextFormat": 2,
1007
+ "kind": 3,
1008
+ "documentation": {
1009
+ "kind": "markdown",
1010
+ "value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parámetros**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. \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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1011
+ }
1012
+ },
1013
+ "parametersInfo": {
1014
+ "min": 2,
1015
+ "max": 4
883
1016
  }
884
1017
  },
885
- "parametersInfo": {
886
- "min": 2,
887
- "max": 3
1018
+ {
1019
+ "type": "function",
1020
+ "name": "datediff",
1021
+ "bundle": "core",
1022
+ "sinceVersion": "1.24",
1023
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff2",
1024
+ "description": "Subtracts two DateOnly values, and returns the difference in the specified units.",
1025
+ "examples": "\n##### Ejemplo\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",
1026
+ "completion": {
1027
+ "label": "DateDiff",
1028
+ "detail": "DateDiff(dateOnly1, dateOnly2, units?) -> Number",
1029
+ "insertText": "DateDiff(${1:dateOnly1_}, ${2:dateOnly2_})$0",
1030
+ "insertTextMode": 2,
1031
+ "insertTextFormat": 2,
1032
+ "kind": 3,
1033
+ "documentation": {
1034
+ "kind": "markdown",
1035
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1036
+ }
1037
+ },
1038
+ "parametersInfo": {
1039
+ "min": 2,
1040
+ "max": 3
1041
+ }
1042
+ },
1043
+ {
1044
+ "type": "function",
1045
+ "name": "datediff",
1046
+ "bundle": "core",
1047
+ "sinceVersion": "1.24",
1048
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff3",
1049
+ "description": "Subtracts two Time values, and returns the difference in the specified units.",
1050
+ "examples": "\n##### Ejemplo\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",
1051
+ "completion": {
1052
+ "label": "DateDiff",
1053
+ "detail": "DateDiff(time1, time2, units?) -> Number",
1054
+ "insertText": "DateDiff(${1:time1_}, ${2:time2_})$0",
1055
+ "insertTextMode": 2,
1056
+ "insertTextFormat": 2,
1057
+ "kind": 3,
1058
+ "documentation": {
1059
+ "kind": "markdown",
1060
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1061
+ }
1062
+ },
1063
+ "parametersInfo": {
1064
+ "min": 2,
1065
+ "max": 3
1066
+ }
888
1067
  }
889
- },
1068
+ ],
1069
+ [
1070
+ {
1071
+ "type": "function",
1072
+ "name": "dateonly",
1073
+ "bundle": "core",
1074
+ "sinceVersion": "1.24",
1075
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly1",
1076
+ "description": "Creates a DateOnly value based on the current date in the time zone of the profile's execution context.",
1077
+ "examples": "\n##### Ejemplo\n\nReturns the current DateOnly (no time)\n\n```arcade\nDateOnly()\n// returns the current date, i.e. 2023-09-12\n```\n\n",
1078
+ "completion": {
1079
+ "label": "DateOnly",
1080
+ "detail": "DateOnly() -> DateOnly",
1081
+ "insertText": "DateOnly($0)",
1082
+ "insertTextMode": 2,
1083
+ "insertTextFormat": 2,
1084
+ "kind": 3,
1085
+ "documentation": {
1086
+ "kind": "markdown",
1087
+ "value": "**[A partir de la versión 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**Valor de retorno**: DateOnly"
1088
+ }
1089
+ },
1090
+ "parametersInfo": {
1091
+ "min": 0,
1092
+ "max": 0
1093
+ }
1094
+ },
1095
+ {
1096
+ "type": "function",
1097
+ "name": "dateonly",
1098
+ "bundle": "core",
1099
+ "sinceVersion": "1.24",
1100
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly2",
1101
+ "description": "Creates a DateOnly value from a given date.",
1102
+ "examples": "\n##### Ejemplo\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",
1103
+ "completion": {
1104
+ "label": "DateOnly",
1105
+ "detail": "DateOnly(dateValue) -> DateOnly",
1106
+ "insertText": "DateOnly(${1:dateValue_})$0",
1107
+ "insertTextMode": 2,
1108
+ "insertTextFormat": 2,
1109
+ "kind": 3,
1110
+ "documentation": {
1111
+ "kind": "markdown",
1112
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly value from a given date.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to create the DateOnly value.\n\n**Valor de retorno**: DateOnly"
1113
+ }
1114
+ },
1115
+ "parametersInfo": {
1116
+ "min": 1,
1117
+ "max": 1
1118
+ }
1119
+ },
1120
+ {
1121
+ "type": "function",
1122
+ "name": "dateonly",
1123
+ "bundle": "core",
1124
+ "sinceVersion": "1.24",
1125
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly3",
1126
+ "description": "Creates a DateOnly date with the given Unix epoch number.",
1127
+ "examples": "\n##### Ejemplo\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",
1128
+ "completion": {
1129
+ "label": "DateOnly",
1130
+ "detail": "DateOnly(epoch) -> DateOnly",
1131
+ "insertText": "DateOnly(${1:epoch_})$0",
1132
+ "insertTextMode": 2,
1133
+ "insertTextFormat": 2,
1134
+ "kind": 3,
1135
+ "documentation": {
1136
+ "kind": "markdown",
1137
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a DateOnly date with the given Unix epoch number.\n\n**Parámetro**\n\n- **epoch**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since January 1, 1970 UTC.\n\n**Valor de retorno**: DateOnly"
1138
+ }
1139
+ },
1140
+ "parametersInfo": {
1141
+ "min": 1,
1142
+ "max": 1
1143
+ }
1144
+ },
1145
+ {
1146
+ "type": "function",
1147
+ "name": "dateonly",
1148
+ "bundle": "core",
1149
+ "sinceVersion": "1.24",
1150
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly4",
1151
+ "description": "Creates a DateOnly value from inputs representing the year, month, and day.",
1152
+ "examples": "\n##### Ejemplo\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",
1153
+ "completion": {
1154
+ "label": "DateOnly",
1155
+ "detail": "DateOnly(year, month, day) -> DateOnly",
1156
+ "insertText": "DateOnly(${1:year_}, ${2:month_}, ${3:day_})$0",
1157
+ "insertTextMode": 2,
1158
+ "insertTextFormat": 2,
1159
+ "kind": 3,
1160
+ "documentation": {
1161
+ "kind": "markdown",
1162
+ "value": "**[A partir de la versión 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**Parámetros**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n\n**Valor de retorno**: DateOnly"
1163
+ }
1164
+ },
1165
+ "parametersInfo": {
1166
+ "min": 3,
1167
+ "max": 3
1168
+ }
1169
+ },
1170
+ {
1171
+ "type": "function",
1172
+ "name": "dateonly",
1173
+ "bundle": "core",
1174
+ "sinceVersion": "1.24",
1175
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly5",
1176
+ "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.",
1177
+ "examples": "\n##### Ejemplos\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",
1178
+ "completion": {
1179
+ "label": "DateOnly",
1180
+ "detail": "DateOnly(dateValue, format?) -> DateOnly",
1181
+ "insertText": "DateOnly(${1:dateValue_})$0",
1182
+ "insertTextMode": 2,
1183
+ "insertTextFormat": 2,
1184
+ "kind": 3,
1185
+ "documentation": {
1186
+ "kind": "markdown",
1187
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: DateOnly"
1188
+ }
1189
+ },
1190
+ "parametersInfo": {
1191
+ "min": 1,
1192
+ "max": 2
1193
+ }
1194
+ },
1195
+ {
1196
+ "type": "function",
1197
+ "name": "dateonly",
1198
+ "bundle": "core",
1199
+ "sinceVersion": "1.24",
1200
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly6",
1201
+ "description": "Creates a copy of a DateOnly value.",
1202
+ "examples": "\n##### Ejemplo\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",
1203
+ "completion": {
1204
+ "label": "DateOnly",
1205
+ "detail": "DateOnly(dateOnlyValue) -> DateOnly",
1206
+ "insertText": "DateOnly(${1:dateOnlyValue_})$0",
1207
+ "insertTextMode": 2,
1208
+ "insertTextFormat": 2,
1209
+ "kind": 3,
1210
+ "documentation": {
1211
+ "kind": "markdown",
1212
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a copy of a DateOnly value.\n\n**Parámetro**\n\n- **dateOnlyValue**: DateOnly - The DateOnly value to copy.\n\n**Valor de retorno**: DateOnly"
1213
+ }
1214
+ },
1215
+ "parametersInfo": {
1216
+ "min": 1,
1217
+ "max": 1
1218
+ }
1219
+ }
1220
+ ],
890
1221
  {
891
1222
  "type": "function",
892
1223
  "name": "day",
893
1224
  "bundle": "core",
894
1225
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#day",
895
1226
  "description": "Devuelve el día del mes de la fecha dada.",
896
- "examples": "\n##### Ejemplo\n\nObtiene el día del mes de la fecha actual\n\n```arcade\nDay(Now())\n```\n\n",
1227
+ "examples": "\n##### Ejemplos\n\nObtiene el día del mes de la fecha actual\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",
897
1228
  "completion": {
898
1229
  "label": "Day",
899
1230
  "detail": "Day(dateValue) -> Number",
@@ -903,7 +1234,7 @@
903
1234
  "kind": 3,
904
1235
  "documentation": {
905
1236
  "kind": "markdown",
906
- "value": "Devuelve el día del mes de la fecha dada.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el día del mes.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1237
+ "value": "Devuelve el día del mes de la fecha dada.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valor de fecha desde el que se obtiene el día del mes.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
907
1238
  }
908
1239
  },
909
1240
  "parametersInfo": {
@@ -911,30 +1242,57 @@
911
1242
  "max": 1
912
1243
  }
913
1244
  },
914
- {
915
- "type": "function",
916
- "name": "hour",
917
- "bundle": "core",
918
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour",
919
- "description": "Devuelve la hora del tiempo de la fecha dada (0-23).",
920
- "examples": "\n##### Ejemplo\n\nObtiene la hora del tiempo actual\n\n```arcade\nHour(Now())\n```\n\n",
921
- "completion": {
922
- "label": "Hour",
923
- "detail": "Hour(dateValue) -> Number",
924
- "insertText": "Hour(${1:dateValue_})$0",
925
- "insertTextMode": 2,
926
- "insertTextFormat": 2,
927
- "kind": 3,
928
- "documentation": {
929
- "kind": "markdown",
930
- "value": "Devuelve la hora del tiempo de la fecha dada (0-23).\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene la hora del tiempo.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1245
+ [
1246
+ {
1247
+ "type": "function",
1248
+ "name": "hour",
1249
+ "bundle": "core",
1250
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour1",
1251
+ "description": "Returns the hour of the time in the given date (0-23).",
1252
+ "examples": "\n##### Ejemplo\n\nGets the hour of the current time\n\n```arcade\nHour(Now())\n```\n\n",
1253
+ "completion": {
1254
+ "label": "Hour",
1255
+ "detail": "Hour(dateValue) -> Number",
1256
+ "insertText": "Hour(${1:dateValue_})$0",
1257
+ "insertTextMode": 2,
1258
+ "insertTextFormat": 2,
1259
+ "kind": 3,
1260
+ "documentation": {
1261
+ "kind": "markdown",
1262
+ "value": "Returns the hour of the time in the given date (0-23).\n\n**Parámetro**\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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1263
+ }
1264
+ },
1265
+ "parametersInfo": {
1266
+ "min": 1,
1267
+ "max": 1
931
1268
  }
932
1269
  },
933
- "parametersInfo": {
934
- "min": 1,
935
- "max": 1
1270
+ {
1271
+ "type": "function",
1272
+ "name": "hour",
1273
+ "bundle": "core",
1274
+ "sinceVersion": "1.24",
1275
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#hour2",
1276
+ "description": "Returns the hour of the given time (0-23).",
1277
+ "examples": "\n##### Ejemplo\n\nGets the hour of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 2\n```\n\n",
1278
+ "completion": {
1279
+ "label": "Hour",
1280
+ "detail": "Hour(timeValue) -> Number",
1281
+ "insertText": "Hour(${1:timeValue_})$0",
1282
+ "insertTextMode": 2,
1283
+ "insertTextFormat": 2,
1284
+ "kind": 3,
1285
+ "documentation": {
1286
+ "kind": "markdown",
1287
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the hour of the given time (0-23).\n\n**Parámetro**\n\n- **timeValue**: Time - A Time value from which to get the hour.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1288
+ }
1289
+ },
1290
+ "parametersInfo": {
1291
+ "min": 1,
1292
+ "max": 1
1293
+ }
936
1294
  }
937
- },
1295
+ ],
938
1296
  {
939
1297
  "type": "function",
940
1298
  "name": "isomonth",
@@ -942,7 +1300,7 @@
942
1300
  "sinceVersion": "1.12",
943
1301
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth",
944
1302
  "description": "Devuelve el mes de la fecha dada, basado en la norma ISO 8601. Los valores abarcan del 1 al 12, donde enero es \\\"1\\\" y diciembre es \\\"12\\\".",
945
- "examples": "\n##### Ejemplo\n\nObtiene el mes de la fecha dada, basado en la norma ISO 8601. Devuelve \\\"12\\\", para el mes de diciembre.\n\n```arcade\nISOMonth(Date(1980, 11, 31))\n```\n\n",
1303
+ "examples": "\n##### Ejemplos\n\nObtiene el mes de la fecha dada, basado en la norma ISO 8601. Devuelve \\\"12\\\", para el mes de diciembre.\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",
946
1304
  "completion": {
947
1305
  "label": "ISOMonth",
948
1306
  "detail": "ISOMonth(dateValue) -> Number",
@@ -952,7 +1310,7 @@
952
1310
  "kind": 3,
953
1311
  "documentation": {
954
1312
  "kind": "markdown",
955
- "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el mes de la fecha dada, basado en la norma ISO 8601. Los valores abarcan del 1 al 12, donde enero es \\\"1\\\" y diciembre es \\\"12\\\".\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el mes.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1313
+ "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el mes de la fecha dada, basado en la norma ISO 8601. Los valores abarcan del 1 al 12, donde enero es \\\"1\\\" y diciembre es \\\"12\\\".\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valor de fecha desde el que se obtiene el mes.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
956
1314
  }
957
1315
  },
958
1316
  "parametersInfo": {
@@ -967,7 +1325,7 @@
967
1325
  "sinceVersion": "1.12",
968
1326
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweek",
969
1327
  "description": "Devuelve la semana del año de la fecha dada, basada en el calendario de fecha semanal ISO 8601. Los valores abarcan del 1 al 53, donde la primera semana del año es \\\"1\\\" y la última semana del año es \\\"52\\\" o \\\"53\\\", dependiendo del año.",
970
- "examples": "\n##### Ejemplo\n\nObtiene la semana de la fecha dada, basado en la norma ISO 8601. Devuelve \\\"1\\\", ya que esta fecha está incluida en la primera semana del año siguiente.\n\n```arcade\nISOWeek(Date(1980, 11, 31))\n```\n\n",
1328
+ "examples": "\n##### Ejemplos\n\nObtiene la semana de la fecha dada, basado en la norma ISO 8601. Devuelve \\\"1\\\", ya que esta fecha está incluida en la primera semana del año siguiente.\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",
971
1329
  "completion": {
972
1330
  "label": "ISOWeek",
973
1331
  "detail": "ISOWeek(dateValue) -> Number",
@@ -977,7 +1335,7 @@
977
1335
  "kind": 3,
978
1336
  "documentation": {
979
1337
  "kind": "markdown",
980
- "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve la semana del año de la fecha dada, basada en el calendario de fecha semanal ISO 8601. Los valores abarcan del 1 al 53, donde la primera semana del año es \\\"1\\\" y la última semana del año es \\\"52\\\" o \\\"53\\\", dependiendo del año.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha del que se obtiene el año.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1338
+ "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve la semana del año de la fecha dada, basada en el calendario de fecha semanal ISO 8601. Los valores abarcan del 1 al 53, donde la primera semana del año es \\\"1\\\" y la última semana del año es \\\"52\\\" o \\\"53\\\", dependiendo del año.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valor de fecha del que se obtiene el año.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
981
1339
  }
982
1340
  },
983
1341
  "parametersInfo": {
@@ -992,7 +1350,7 @@
992
1350
  "sinceVersion": "1.12",
993
1351
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoweekday",
994
1352
  "description": "Devuelve el día de la semana de la fecha dada, basado en la norma ISO 8601. Los valores abarcan del 1 al 7, donde el lunes es el \\\"1\\\" y el domingo es el \\\"7\\\".",
995
- "examples": "\n##### Ejemplo\n\nDevuelve el día de la semana de la fecha dada, basado en la norma ISO 8601. Devuelve \\\"3\\\", para el miércoles.\n\n```arcade\nISOWeekday(Date(1980, 11, 31))\n```\n\n",
1353
+ "examples": "\n##### Ejemplos\n\nDevuelve el día de la semana de la fecha dada, basado en la norma ISO 8601. Devuelve \\\"3\\\", para el miércoles.\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",
996
1354
  "completion": {
997
1355
  "label": "ISOWeekday",
998
1356
  "detail": "ISOWeekday(dateValue) -> Number",
@@ -1002,7 +1360,7 @@
1002
1360
  "kind": 3,
1003
1361
  "documentation": {
1004
1362
  "kind": "markdown",
1005
- "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el día de la semana de la fecha dada, basado en la norma ISO 8601. Los valores abarcan del 1 al 7, donde el lunes es el \\\"1\\\" y el domingo es el \\\"7\\\".\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Valor de fecha desde el cual se devuelve el día de la semana.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1363
+ "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el día de la semana de la fecha dada, basado en la norma ISO 8601. Los valores abarcan del 1 al 7, donde el lunes es el \\\"1\\\" y el domingo es el \\\"7\\\".\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Valor de fecha desde el cual se devuelve el día de la semana.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1006
1364
  }
1007
1365
  },
1008
1366
  "parametersInfo": {
@@ -1017,65 +1375,17 @@
1017
1375
  "sinceVersion": "1.12",
1018
1376
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#isoyear",
1019
1377
  "description": "Devuelve el año de la fecha dada, basada en el calendario de fecha semanal ISO 8601.",
1020
- "examples": "\n##### Ejemplo\n\nObtiene el año de la fecha dada, basada en el calendario de fecha semanal ISO 8601. Devuelve \\\"1981\\\", ya que esta fecha está incluida en la primera semana del año siguiente.\n\n```arcade\nISOYear(Date(1980, 11, 31))\n```\n\n",
1378
+ "examples": "\n##### Ejemplos\n\nObtiene el año de la fecha dada, basada en el calendario de fecha semanal ISO 8601. Devuelve \\\"1981\\\", ya que esta fecha está incluida en la primera semana del año siguiente.\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",
1021
1379
  "completion": {
1022
1380
  "label": "ISOYear",
1023
- "detail": "ISOYear(dateValue) -> Number",
1024
- "insertText": "ISOYear(${1:dateValue_})$0",
1025
- "insertTextMode": 2,
1026
- "insertTextFormat": 2,
1027
- "kind": 3,
1028
- "documentation": {
1029
- "kind": "markdown",
1030
- "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el año de la fecha dada, basada en el calendario de fecha semanal ISO 8601.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el año.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1031
- }
1032
- },
1033
- "parametersInfo": {
1034
- "min": 1,
1035
- "max": 1
1036
- }
1037
- },
1038
- {
1039
- "type": "function",
1040
- "name": "millisecond",
1041
- "bundle": "core",
1042
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond",
1043
- "description": "Devuelve los milisegundos del tiempo en la fecha.",
1044
- "examples": "\n##### Ejemplo\n\nObtiene el milisegundo de la hora actual\n\n```arcade\nMillisecond(Now())\n```\n\n",
1045
- "completion": {
1046
- "label": "Millisecond",
1047
- "detail": "Millisecond(dateValue) -> Number",
1048
- "insertText": "Millisecond(${1:dateValue_})$0",
1049
- "insertTextMode": 2,
1050
- "insertTextFormat": 2,
1051
- "kind": 3,
1052
- "documentation": {
1053
- "kind": "markdown",
1054
- "value": "Devuelve los milisegundos del tiempo en la fecha.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el milisegundo del tiempo.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1055
- }
1056
- },
1057
- "parametersInfo": {
1058
- "min": 1,
1059
- "max": 1
1060
- }
1061
- },
1062
- {
1063
- "type": "function",
1064
- "name": "minute",
1065
- "bundle": "core",
1066
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute",
1067
- "description": "Devuelve el minuto del tiempo en la fecha dada.",
1068
- "examples": "\n##### Ejemplo\n\nObtiene el minuto del tiempo actual\n\n```arcade\nMinute(Now())\n```\n\n",
1069
- "completion": {
1070
- "label": "Minute",
1071
- "detail": "Minute(dateValue) -> Number",
1072
- "insertText": "Minute(${1:dateValue_})$0",
1381
+ "detail": "ISOYear(dateValue) -> Number",
1382
+ "insertText": "ISOYear(${1:dateValue_})$0",
1073
1383
  "insertTextMode": 2,
1074
1384
  "insertTextFormat": 2,
1075
1385
  "kind": 3,
1076
1386
  "documentation": {
1077
1387
  "kind": "markdown",
1078
- "value": "Devuelve el minuto del tiempo en la fecha dada.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el minuto del tiempo.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1388
+ "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el año de la fecha dada, basada en el calendario de fecha semanal ISO 8601.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valor de fecha desde el que se obtiene el año.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1079
1389
  }
1080
1390
  },
1081
1391
  "parametersInfo": {
@@ -1083,13 +1393,115 @@
1083
1393
  "max": 1
1084
1394
  }
1085
1395
  },
1396
+ [
1397
+ {
1398
+ "type": "function",
1399
+ "name": "millisecond",
1400
+ "bundle": "core",
1401
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond1",
1402
+ "description": "Returns the millisecond of the time in the date.",
1403
+ "examples": "\n##### Ejemplo\n\nGets the millisecond of the current time\n\n```arcade\nMillisecond(Now())\n```\n\n",
1404
+ "completion": {
1405
+ "label": "Millisecond",
1406
+ "detail": "Millisecond(dateValue) -> Number",
1407
+ "insertText": "Millisecond(${1:dateValue_})$0",
1408
+ "insertTextMode": 2,
1409
+ "insertTextFormat": 2,
1410
+ "kind": 3,
1411
+ "documentation": {
1412
+ "kind": "markdown",
1413
+ "value": "Returns the millisecond of the time in the date.\n\n**Parámetro**\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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1414
+ }
1415
+ },
1416
+ "parametersInfo": {
1417
+ "min": 1,
1418
+ "max": 1
1419
+ }
1420
+ },
1421
+ {
1422
+ "type": "function",
1423
+ "name": "millisecond",
1424
+ "bundle": "core",
1425
+ "sinceVersion": "1.24",
1426
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#millisecond2",
1427
+ "description": "Returns the millisecond of the given time.",
1428
+ "examples": "\n##### Ejemplo\n\nGets the millisecond of the time\n\n```arcade\nHour(Time(2, 59, 23, 450))\n// returns 450\n```\n\n",
1429
+ "completion": {
1430
+ "label": "Millisecond",
1431
+ "detail": "Millisecond(timeValue) -> Number",
1432
+ "insertText": "Millisecond(${1:timeValue_})$0",
1433
+ "insertTextMode": 2,
1434
+ "insertTextFormat": 2,
1435
+ "kind": 3,
1436
+ "documentation": {
1437
+ "kind": "markdown",
1438
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the millisecond of the given time.\n\n**Parámetro**\n\n- **timeValue**: Time - A Time value from which to get the millisecond.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1439
+ }
1440
+ },
1441
+ "parametersInfo": {
1442
+ "min": 1,
1443
+ "max": 1
1444
+ }
1445
+ }
1446
+ ],
1447
+ [
1448
+ {
1449
+ "type": "function",
1450
+ "name": "minute",
1451
+ "bundle": "core",
1452
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute1",
1453
+ "description": "Returns the minute of the time in the given date.",
1454
+ "examples": "\n##### Ejemplo\n\nGets the minute of the current time\n\n```arcade\nMinute(Now())\n```\n\n",
1455
+ "completion": {
1456
+ "label": "Minute",
1457
+ "detail": "Minute(dateValue) -> Number",
1458
+ "insertText": "Minute(${1:dateValue_})$0",
1459
+ "insertTextMode": 2,
1460
+ "insertTextFormat": 2,
1461
+ "kind": 3,
1462
+ "documentation": {
1463
+ "kind": "markdown",
1464
+ "value": "Returns the minute of the time in the given date.\n\n**Parámetro**\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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1465
+ }
1466
+ },
1467
+ "parametersInfo": {
1468
+ "min": 1,
1469
+ "max": 1
1470
+ }
1471
+ },
1472
+ {
1473
+ "type": "function",
1474
+ "name": "minute",
1475
+ "bundle": "core",
1476
+ "sinceVersion": "1.24",
1477
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#minute2",
1478
+ "description": "Returns the minute of the given time.",
1479
+ "examples": "\n##### Ejemplo\n\nGets the minute of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 59\n```\n\n",
1480
+ "completion": {
1481
+ "label": "Minute",
1482
+ "detail": "Minute(timeValue) -> Number",
1483
+ "insertText": "Minute(${1:timeValue_})$0",
1484
+ "insertTextMode": 2,
1485
+ "insertTextFormat": 2,
1486
+ "kind": 3,
1487
+ "documentation": {
1488
+ "kind": "markdown",
1489
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the minute of the given time.\n\n**Parámetro**\n\n- **timeValue**: Time - A Time value from which to get the minute.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1490
+ }
1491
+ },
1492
+ "parametersInfo": {
1493
+ "min": 1,
1494
+ "max": 1
1495
+ }
1496
+ }
1497
+ ],
1086
1498
  {
1087
1499
  "type": "function",
1088
1500
  "name": "month",
1089
1501
  "bundle": "core",
1090
1502
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#month",
1091
1503
  "description": "Devuelve el mes de la fecha dada. Los valores van de 0-11 donde enero es `0` y diciembre es `11`.",
1092
- "examples": "\n##### Ejemplo\n\nObtiene el mes de la fecha dada. Devuelve 11, para el mes de diciembre.\n\n```arcade\nMonth(Date(1980, 11, 31))\n```\n\n",
1504
+ "examples": "\n##### Ejemplos\n\nObtiene el mes de la fecha dada. Devuelve 11, para el mes de diciembre.\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",
1093
1505
  "completion": {
1094
1506
  "label": "Month",
1095
1507
  "detail": "Month(dateValue) -> Number",
@@ -1099,7 +1511,7 @@
1099
1511
  "kind": 3,
1100
1512
  "documentation": {
1101
1513
  "kind": "markdown",
1102
- "value": "Devuelve el mes de la fecha dada. Los valores van de 0-11 donde enero es `0` y diciembre es `11`.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el mes.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1514
+ "value": "Devuelve el mes de la fecha dada. Los valores van de 0-11 donde enero es `0` y diciembre es `11`.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valor de fecha desde el que se obtiene el mes.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1103
1515
  }
1104
1516
  },
1105
1517
  "parametersInfo": {
@@ -1131,23 +1543,227 @@
1131
1543
  "max": 0
1132
1544
  }
1133
1545
  },
1546
+ [
1547
+ {
1548
+ "type": "function",
1549
+ "name": "second",
1550
+ "bundle": "core",
1551
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second1",
1552
+ "description": "Returns the second of the time in the date.",
1553
+ "examples": "\n##### Ejemplo\n\nGets the second of the current time\n\n```arcade\nSecond(Now())\n```\n\n",
1554
+ "completion": {
1555
+ "label": "Second",
1556
+ "detail": "Second(dateValue) -> Number",
1557
+ "insertText": "Second(${1:dateValue_})$0",
1558
+ "insertTextMode": 2,
1559
+ "insertTextFormat": 2,
1560
+ "kind": 3,
1561
+ "documentation": {
1562
+ "kind": "markdown",
1563
+ "value": "Returns the second of the time in the date.\n\n**Parámetro**\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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1564
+ }
1565
+ },
1566
+ "parametersInfo": {
1567
+ "min": 1,
1568
+ "max": 1
1569
+ }
1570
+ },
1571
+ {
1572
+ "type": "function",
1573
+ "name": "second",
1574
+ "bundle": "core",
1575
+ "sinceVersion": "1.24",
1576
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second2",
1577
+ "description": "Returns the second of the given time.",
1578
+ "examples": "\n##### Ejemplo\n\nGets the second of the time\n\n```arcade\nHour(Time(2, 59, 23))\n// returns 23\n```\n\n",
1579
+ "completion": {
1580
+ "label": "Second",
1581
+ "detail": "Second(timeValue) -> Number",
1582
+ "insertText": "Second(${1:timeValue_})$0",
1583
+ "insertTextMode": 2,
1584
+ "insertTextFormat": 2,
1585
+ "kind": 3,
1586
+ "documentation": {
1587
+ "kind": "markdown",
1588
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the second of the given time.\n\n**Parámetro**\n\n- **timeValue**: Time - A Time value from which to get the second.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1589
+ }
1590
+ },
1591
+ "parametersInfo": {
1592
+ "min": 1,
1593
+ "max": 1
1594
+ }
1595
+ }
1596
+ ],
1597
+ [
1598
+ {
1599
+ "type": "function",
1600
+ "name": "time",
1601
+ "bundle": "core",
1602
+ "sinceVersion": "1.24",
1603
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time1",
1604
+ "description": "Creates a Time value representing the current time in the time zone of the profile's execution context.",
1605
+ "examples": "\n##### Ejemplo\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",
1606
+ "completion": {
1607
+ "label": "Time",
1608
+ "detail": "Time() -> Time",
1609
+ "insertText": "Time($0)",
1610
+ "insertTextMode": 2,
1611
+ "insertTextFormat": 2,
1612
+ "kind": 3,
1613
+ "documentation": {
1614
+ "kind": "markdown",
1615
+ "value": "**[A partir de la versión 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**Valor de retorno**: Time"
1616
+ }
1617
+ },
1618
+ "parametersInfo": {
1619
+ "min": 0,
1620
+ "max": 0
1621
+ }
1622
+ },
1623
+ {
1624
+ "type": "function",
1625
+ "name": "time",
1626
+ "bundle": "core",
1627
+ "sinceVersion": "1.24",
1628
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time2",
1629
+ "description": "Creates a Time value from a given date.",
1630
+ "examples": "\n##### Ejemplo\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",
1631
+ "completion": {
1632
+ "label": "Time",
1633
+ "detail": "Time(dateValue) -> Time",
1634
+ "insertText": "Time(${1:dateValue_})$0",
1635
+ "insertTextMode": 2,
1636
+ "insertTextFormat": 2,
1637
+ "kind": 3,
1638
+ "documentation": {
1639
+ "kind": "markdown",
1640
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Time value from a given date.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The date from which to get the time.\n\n**Valor de retorno**: Time"
1641
+ }
1642
+ },
1643
+ "parametersInfo": {
1644
+ "min": 1,
1645
+ "max": 1
1646
+ }
1647
+ },
1648
+ {
1649
+ "type": "function",
1650
+ "name": "time",
1651
+ "bundle": "core",
1652
+ "sinceVersion": "1.24",
1653
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time3",
1654
+ "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`.",
1655
+ "examples": "\n##### Ejemplos\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",
1656
+ "completion": {
1657
+ "label": "Time",
1658
+ "detail": "Time(numValue) -> Time",
1659
+ "insertText": "Time(${1:numValue_})$0",
1660
+ "insertTextMode": 2,
1661
+ "insertTextFormat": 2,
1662
+ "kind": 3,
1663
+ "documentation": {
1664
+ "kind": "markdown",
1665
+ "value": "**[A partir de la versión 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**Parámetro**\n\n- **numValue**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The number of milliseconds since midnight.\n\n**Valor de retorno**: Time"
1666
+ }
1667
+ },
1668
+ "parametersInfo": {
1669
+ "min": 1,
1670
+ "max": 1
1671
+ }
1672
+ },
1673
+ {
1674
+ "type": "function",
1675
+ "name": "time",
1676
+ "bundle": "core",
1677
+ "sinceVersion": "1.24",
1678
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time4",
1679
+ "description": "Creates a Time value from inputs representing hours, minutes, seconds, and milliseconds.",
1680
+ "examples": "\n##### Ejemplo\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",
1681
+ "completion": {
1682
+ "label": "Time",
1683
+ "detail": "Time(hours, minutes, seconds?, milliseconds?) -> Time",
1684
+ "insertText": "Time(${1:hours_}, ${2:minutes_})$0",
1685
+ "insertTextMode": 2,
1686
+ "insertTextFormat": 2,
1687
+ "kind": 3,
1688
+ "documentation": {
1689
+ "kind": "markdown",
1690
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: Time"
1691
+ }
1692
+ },
1693
+ "parametersInfo": {
1694
+ "min": 2,
1695
+ "max": 4
1696
+ }
1697
+ },
1698
+ {
1699
+ "type": "function",
1700
+ "name": "time",
1701
+ "bundle": "core",
1702
+ "sinceVersion": "1.24",
1703
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#time5",
1704
+ "description": "Creates a Time value from a text input representing time, with an optional input indicating the text's format.",
1705
+ "examples": "\n##### Ejemplos\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",
1706
+ "completion": {
1707
+ "label": "Time",
1708
+ "detail": "Time(timeValue, format?) -> Time",
1709
+ "insertText": "Time(${1:timeValue_})$0",
1710
+ "insertTextMode": 2,
1711
+ "insertTextFormat": 2,
1712
+ "kind": 3,
1713
+ "documentation": {
1714
+ "kind": "markdown",
1715
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: Time"
1716
+ }
1717
+ },
1718
+ "parametersInfo": {
1719
+ "min": 1,
1720
+ "max": 2
1721
+ }
1722
+ }
1723
+ ],
1724
+ {
1725
+ "type": "function",
1726
+ "name": "timestamp",
1727
+ "bundle": "core",
1728
+ "sinceVersion": "1.1",
1729
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1730
+ "description": "Crea un valor de fecha que representa la fecha y la hora actuales en UTC.",
1731
+ "examples": "\n##### Ejemplo\n\nCrea una fecha en hora UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1732
+ "completion": {
1733
+ "label": "Timestamp",
1734
+ "detail": "Timestamp() -> Date",
1735
+ "insertText": "Timestamp($0)",
1736
+ "insertTextMode": 2,
1737
+ "insertTextFormat": 2,
1738
+ "kind": 3,
1739
+ "documentation": {
1740
+ "kind": "markdown",
1741
+ "value": "**[A partir de la versión 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCrea un valor de fecha que representa la fecha y la hora actuales en UTC.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1742
+ }
1743
+ },
1744
+ "parametersInfo": {
1745
+ "min": 0,
1746
+ "max": 0
1747
+ }
1748
+ },
1134
1749
  {
1135
1750
  "type": "function",
1136
- "name": "second",
1751
+ "name": "timezone",
1137
1752
  "bundle": "core",
1138
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#second",
1139
- "description": "Devuelve el segundo del tiempo en la fecha.",
1140
- "examples": "\n##### Ejemplo\n\nObtiene el segundo del tiempo actual\n\n```arcade\nSecond(Now())\n```\n\n",
1753
+ "sinceVersion": "1.24",
1754
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
1755
+ "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",
1756
+ "examples": "\n##### Ejemplo\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
1141
1757
  "completion": {
1142
- "label": "Second",
1143
- "detail": "Second(dateValue) -> Number",
1144
- "insertText": "Second(${1:dateValue_})$0",
1758
+ "label": "TimeZone",
1759
+ "detail": "TimeZone(dateValue) -> Text",
1760
+ "insertText": "TimeZone(${1:dateValue_})$0",
1145
1761
  "insertTextMode": 2,
1146
1762
  "insertTextFormat": 2,
1147
1763
  "kind": 3,
1148
1764
  "documentation": {
1149
1765
  "kind": "markdown",
1150
- "value": "Devuelve el segundo del tiempo en la fecha.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el segundo del tiempo.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1766
+ "value": "**[A partir de la versión 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- 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**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Valor de retorno**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
1151
1767
  }
1152
1768
  },
1153
1769
  "parametersInfo": {
@@ -1157,27 +1773,27 @@
1157
1773
  },
1158
1774
  {
1159
1775
  "type": "function",
1160
- "name": "timestamp",
1776
+ "name": "timezoneoffset",
1161
1777
  "bundle": "core",
1162
- "sinceVersion": "1.1",
1163
- "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp",
1164
- "description": "Crea un valor de fecha que representa la fecha y la hora actuales en UTC.",
1165
- "examples": "\n##### Ejemplo\n\nCrea una fecha en hora UTC\n\n```arcade\n// Date that represents Jan 27, 2023, 8:41:20 PM UTC\nTimestamp()\n```\n\n",
1778
+ "sinceVersion": "1.24",
1779
+ "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezoneoffset",
1780
+ "description": "Returns the time zone offset in minutes from UTC for the given Date.",
1781
+ "examples": "\n##### Ejemplo\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",
1166
1782
  "completion": {
1167
- "label": "Timestamp",
1168
- "detail": "Timestamp() -> Date",
1169
- "insertText": "Timestamp($0)",
1783
+ "label": "TimeZoneOffset",
1784
+ "detail": "TimeZoneOffset(dateValue) -> Number",
1785
+ "insertText": "TimeZoneOffset(${1:dateValue_})$0",
1170
1786
  "insertTextMode": 2,
1171
1787
  "insertTextFormat": 2,
1172
1788
  "kind": 3,
1173
1789
  "documentation": {
1174
1790
  "kind": "markdown",
1175
- "value": "**[A partir de la versión 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCrea un valor de fecha que representa la fecha y la hora actuales en UTC.\n\n**Valor de retorno**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
1791
+ "value": "**[A partir de la versión 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**Parámetro**\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**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1176
1792
  }
1177
1793
  },
1178
1794
  "parametersInfo": {
1179
- "min": 0,
1180
- "max": 0
1795
+ "min": 1,
1796
+ "max": 1
1181
1797
  }
1182
1798
  },
1183
1799
  {
@@ -1261,7 +1877,7 @@
1261
1877
  "sinceVersion": "1.14",
1262
1878
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#week",
1263
1879
  "description": "Devuelve el número de la semana del año de la fecha dada. Los valores varían de 0 a 53, donde la primera semana del año es `0` y la última semana del año es `51`, `52`, o `53`, en función del año. La primera semana y la última pueden no durar siete días completos.",
1264
- "examples": "\n##### Ejemplos\n\nUtilice el inicio predeterminado de la semana (domingo)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nConfigurar el inicio de la semana a jueves\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nConfigurar el inicio de la semana a viernes\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",
1880
+ "examples": "\n##### Ejemplos\n\nUtilice el inicio predeterminado de la semana (domingo)\n\n```arcade\nWeek( Date(1974,0,3) )\n// Returns 0\n```\n\nConfigurar el inicio de la semana a jueves\n\n```arcade\nWeek( Date(1974,0,3), 4 )\n// Returns 1\n```\n\nConfigurar el inicio de la semana a viernes\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",
1265
1881
  "completion": {
1266
1882
  "label": "Week",
1267
1883
  "detail": "Week(dateValue, startDay?) -> Number",
@@ -1271,7 +1887,7 @@
1271
1887
  "kind": 3,
1272
1888
  "documentation": {
1273
1889
  "kind": "markdown",
1274
- "value": "**[A partir de la versión 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el número de la semana del año de la fecha dada. Los valores varían de 0 a 53, donde la primera semana del año es `0` y la última semana del año es `51`, `52`, o `53`, en función del año. La primera semana y la última pueden no durar siete días completos.\n\n**Parámetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha del que se obtiene el año.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un número que representa el día de inicio de la semana. Domingo = 0; Lunes = 1; Martes = 2; Miércoles = 3; Jueves = 4; Viernes = 5; Sábado = 6. El predeterminado es \\\"0\\\" (domingo).\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1890
+ "value": "**[A partir de la versión 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevuelve el número de la semana del año de la fecha dada. Los valores varían de 0 a 53, donde la primera semana del año es `0` y la última semana del año es `51`, `52`, o `53`, en función del año. La primera semana y la última pueden no durar siete días completos.\n\n**Parámetros**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valor de fecha del que se obtiene el año.\n- **startDay** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Un número que representa el día de inicio de la semana. Domingo = 0; Lunes = 1; Martes = 2; Miércoles = 3; Jueves = 4; Viernes = 5; Sábado = 6. El predeterminado es \\\"0\\\" (domingo).\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1275
1891
  }
1276
1892
  },
1277
1893
  "parametersInfo": {
@@ -1285,7 +1901,7 @@
1285
1901
  "bundle": "core",
1286
1902
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#weekday",
1287
1903
  "description": "Devuelve el día de la semana de la fecha dada. Los valores abarcan del 0 al 6, donde el domingo es el `0` y el sábado es el `6`.",
1288
- "examples": "\n##### Ejemplo\n\nDevuelve el día de la semana de la fecha dada. Devuelve \\\"3\\\", para el miércoles.\n\n```arcade\nWeekday(Date(1980, 11, 31))\n```\n\n",
1904
+ "examples": "\n##### Ejemplos\n\nDevuelve el día de la semana de la fecha dada. Devuelve \\\"3\\\", para el miércoles.\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",
1289
1905
  "completion": {
1290
1906
  "label": "Weekday",
1291
1907
  "detail": "Weekday(dateValue) -> Number",
@@ -1295,7 +1911,7 @@
1295
1911
  "kind": 3,
1296
1912
  "documentation": {
1297
1913
  "kind": "markdown",
1298
- "value": "Devuelve el día de la semana de la fecha dada. Los valores abarcan del 0 al 6, donde el domingo es el `0` y el sábado es el `6`.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Valor de fecha desde el cual se devuelve el día de la semana.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1914
+ "value": "Devuelve el día de la semana de la fecha dada. Los valores abarcan del 0 al 6, donde el domingo es el `0` y el sábado es el `6`.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Valor de fecha desde el cual se devuelve el día de la semana.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1299
1915
  }
1300
1916
  },
1301
1917
  "parametersInfo": {
@@ -1309,7 +1925,7 @@
1309
1925
  "bundle": "core",
1310
1926
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#year",
1311
1927
  "description": "Devuelve el año de la fecha dada.",
1312
- "examples": "\n##### Ejemplo\n\nObtiene el año de la fecha actual\n\n```arcade\nYear(Now())\n```\n\n",
1928
+ "examples": "\n##### Ejemplos\n\nObtiene el año de la fecha actual\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",
1313
1929
  "completion": {
1314
1930
  "label": "Year",
1315
1931
  "detail": "Year(dateValue) -> Number",
@@ -1319,7 +1935,7 @@
1319
1935
  "kind": 3,
1320
1936
  "documentation": {
1321
1937
  "kind": "markdown",
1322
- "value": "Devuelve el año de la fecha dada.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - Un valor de fecha desde el que se obtiene el año.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1938
+ "value": "Devuelve el año de la fecha dada.\n\n**Parámetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| DateOnly - Un valor de fecha desde el que se obtiene el año.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
1323
1939
  }
1324
1940
  },
1325
1941
  "parametersInfo": {
@@ -4408,7 +5024,7 @@
4408
5024
  "bundle": "core",
4409
5025
  "link": "https://developers.arcgis.com/arcade/function-reference/text_functions/#text",
4410
5026
  "description": "Convierte su argumento en un valor de texto y opcionalmente le aplica formato. Devuelve un valor nulo si se produce un error.",
4411
- "examples": "\n##### Ejemplos\n\nRellena el número a la izquierda del decimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestringe el número a la izquierda del decimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nAgrupa el número por millares\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nRedondea el número para dos posiciones decimales\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatear número como moneda\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nRedondea el número para dos posiciones decimales\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMantiene los dígitos importantes y los agrupa por millares\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nDa formato al número y formato positivo/negativo: si hay un subpatrón negativo, solo sirve para especificar el prefijo y el sufijo negativo\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultiplica por 100 y da formato como porcentaje\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatear fecha y hora en el momento, p. ej., 'Martes, 25 de octubre de 2016 a las 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nLa fecha guardada en el campo `datetime` ya representa la hora local, pero Arcade supone que es UTC. Desplaza la hora local a UTC para evitar aplicar el desplazamiento de la zona horaria dos veces.\n\n```arcade\nText(ToUTC($feature.datetime), 'dddd, MMMM D, Y @ h:m:s')\n```\n\n",
5027
+ "examples": "\n##### Ejemplos\n\nRellena el número a la izquierda del decimal\n\n```arcade\nText(123, '0000') // '0123'\n```\n\nRestringe el número a la izquierda del decimal\n\n```arcade\nText(123, '00') // '23'\n```\n\nAgrupa el número por millares\n\n```arcade\nText(1234, '#,###') // '1,234'\n```\n\nRedondea el número para dos posiciones decimales\n\n```arcade\nText(12345678.123, '#,###.00') // '12,345,678.12'\n```\n\nFormatear número como moneda\n\n```arcade\nText(1234.55, '$#,###.00') // '$1,234.55'\n```\n\nRedondea el número para dos posiciones decimales\n\n```arcade\nText(1.236, '#.00') // '1.24'\n```\n\nMantiene los dígitos importantes y los agrupa por millares\n\n```arcade\nText(1234.5678, '#,##0.00#') // '1,234.568'\n```\n\nDa formato al número y formato positivo/negativo: si hay un subpatrón negativo, solo sirve para especificar el prefijo y el sufijo negativo\n\n```arcade\nText(-2, 'Floor #;Basement #') // 'Basement 2'\n```\n\n\n\n```arcade\nText(2, 'Floor #;Basement #') // 'Floor 2'\n```\n\nMultiplica por 100 y da formato como porcentaje\n\n```arcade\nText(0.3, '#%') // '30%'\n```\n\nFormatear fecha y hora en el momento, p. ej., 'Martes, 25 de octubre de 2016 a las 08:43:11'\n\n```arcade\nText(Now(), 'dddd, MMMM D, Y @ h:m:s')\n```\n\nLa fecha guardada en el campo `datetime` ya representa la hora local, pero Arcade supone que es UTC. Desplaza la hora local a UTC para evitar aplicar el desplazamiento de la zona horaria dos veces.\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",
4412
5028
  "completion": {
4413
5029
  "label": "Text",
4414
5030
  "detail": "Text(value, format?) -> Text",
@@ -5036,6 +5652,31 @@
5036
5652
  "max": 4
5037
5653
  }
5038
5654
  },
5655
+ {
5656
+ "type": "function",
5657
+ "name": "featuresetbyrelationshipclass",
5658
+ "bundle": "data-access",
5659
+ "sinceVersion": "1.24",
5660
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
5661
+ "description": "Returns the related records for a given feature as a FeatureSet based on the class name of the relationship.",
5662
+ "examples": "\n##### Ejemplo\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",
5663
+ "completion": {
5664
+ "label": "FeatureSetByRelationshipClass",
5665
+ "detail": "FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet",
5666
+ "insertText": "FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0",
5667
+ "insertTextMode": 2,
5668
+ "insertTextFormat": 2,
5669
+ "kind": 3,
5670
+ "documentation": {
5671
+ "kind": "markdown",
5672
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
5673
+ }
5674
+ },
5675
+ "parametersInfo": {
5676
+ "min": 2,
5677
+ "max": 4
5678
+ }
5679
+ },
5039
5680
  {
5040
5681
  "type": "function",
5041
5682
  "name": "featuresetbyrelationshipname",
@@ -5760,6 +6401,31 @@
5760
6401
  "max": 2
5761
6402
  }
5762
6403
  },
6404
+ {
6405
+ "type": "function",
6406
+ "name": "equals",
6407
+ "bundle": "core",
6408
+ "sinceVersion": "1.24",
6409
+ "link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#equals",
6410
+ "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.",
6411
+ "examples": "\n##### Ejemplo\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",
6412
+ "completion": {
6413
+ "label": "Equals",
6414
+ "detail": "Equals(value1, value2) -> Boolean",
6415
+ "insertText": "Equals(${1:value1_}, ${2:value2_})$0",
6416
+ "insertTextMode": 2,
6417
+ "insertTextFormat": 2,
6418
+ "kind": 3,
6419
+ "documentation": {
6420
+ "kind": "markdown",
6421
+ "value": "**[A partir de la versión 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**Parámetros**\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**Valor de retorno**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6422
+ }
6423
+ },
6424
+ "parametersInfo": {
6425
+ "min": 2,
6426
+ "max": 2
6427
+ }
6428
+ },
5763
6429
  {
5764
6430
  "type": "function",
5765
6431
  "name": "iif",
@@ -6195,7 +6861,7 @@
6195
6861
  "kind": 3,
6196
6862
  "documentation": {
6197
6863
  "kind": "markdown",
6198
- "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenera un valor de código hash para la variable dada.\n\n**Parámetro**\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) - La variable a la que aplicar hash.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6864
+ "value": "**[A partir de la versión 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGenera un valor de código hash para la variable dada.\n\n**Parámetro**\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 - La variable a la que aplicar hash.\n\n**Valor de retorno**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
6199
6865
  }
6200
6866
  },
6201
6867
  "parametersInfo": {