From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- .../global_objects/date/getseconds/index.html | 121 --------------------- 1 file changed, 121 deletions(-) delete mode 100644 files/ca/web/javascript/reference/global_objects/date/getseconds/index.html (limited to 'files/ca/web/javascript/reference/global_objects/date/getseconds') diff --git a/files/ca/web/javascript/reference/global_objects/date/getseconds/index.html b/files/ca/web/javascript/reference/global_objects/date/getseconds/index.html deleted file mode 100644 index 45c8e5f80d..0000000000 --- a/files/ca/web/javascript/reference/global_objects/date/getseconds/index.html +++ /dev/null @@ -1,121 +0,0 @@ ---- -title: Date.prototype.getSeconds() -slug: Web/JavaScript/Reference/Global_Objects/Date/getSeconds -translation_of: Web/JavaScript/Reference/Global_Objects/Date/getSeconds -original_slug: Web/JavaScript/Referencia/Objectes_globals/Date/getSeconds ---- -
{{JSRef("Global_Objects", "Date")}}
- -

Resum

- -

El mètode getSeconds() retorna els segons de la data especficada d'acord al temps local.

- -

Sintaxi

- -
dateObj.getSeconds()
- -

Paràmetres

- -

Cap.

- -

Retorna

- -

El valor retornat per getSeconds() és un sencer entre 0 i 59.

- -

Exemples

- -

Exemple: Utilitzar getSeconds()

- -

La segona sentència de sota assigna el valor 30 a la variable segons, basat en el valor de l'objecte nadal95, de tipus {{jsxref("Global_Objects/Date", "Date")}}.

- -
var nadal95 = new Date('December 25, 1995 23:15:30');
-var segons = nadal95.getSeconds();
-
-console.log(segons); // 30
-
- -

Especificacions

- - - - - - - - - - - - - - - - - - - - - - - - -
EspecificacióEstatComentaris
ECMAScript 1a Edició.StandardDefinició inicial. Implementat a JavaScript 1.0.
{{SpecName('ES5.1', '#sec-15.9.5.22', 'Date.prototype.getSeconds')}}{{Spec2('ES5.1')}} 
{{SpecName('ES6', '#sec-date.prototype.getseconds', 'Date.prototype.getSeconds')}}{{Spec2('ES6')}} 
- -

Compatibilitat amb navegadors

- -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Suport bàsic{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Suport bàsic{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

Vegeu també

- - -- cgit v1.2.3-54-g00ecf