Difference between revisions of "NL/Documentation/How Tos/Calc: functie WEEKDAG"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m (Voorbeeld:)
 
(2 intermediate revisions by 2 users not shown)
Line 35: Line 35:
 
: geeft <tt>'''7'''</tt> terug.  14jun08 valt op een zaterdag.
 
: geeft <tt>'''7'''</tt> terug.  14jun08 valt op een zaterdag.
  
{{Documentation/nl/ZieOok|
+
{{NL/Documentation/ZieOok|
* [[Documentation/nl/How_Tos/Calc: functie JAAR|JAAR]]
+
* [[NL/Documentation/How_Tos/Calc: functie JAAR|JAAR]]
* [[Documentation/nl/How_Tos/Calc: functie MAAND|MAAND]]
+
* [[NL/Documentation/How_Tos/Calc: functie MAAND|MAAND]]
* [[Documentation/nl/How_Tos/Calc: functie DAG|DAG]]
+
* [[NL/Documentation/How_Tos/Calc: functie DAG|DAG]]
* [[Documentation/nl/How_Tos/Calc: functie UUR|UUR]]
+
* [[NL/Documentation/How_Tos/Calc: functie UUR|UUR]]
* [[Documentation/nl/How_Tos/Calc: functie MINUUT|MINUUT]]
+
* [[NL/Documentation/How_Tos/Calc: functie MINUUT|MINUUT]]
* [[Documentation/nl/How_Tos/Calc: functie SECONDE|SECONDE]]
+
* [[NL/Documentation/How_Tos/Calc: functie SECONDE|SECONDE]]
  
* [[Documentation/nl/How_Tos/Calc: Datum- & tijdfuncties#Overzicht datum en tijd|Overzicht datum en tijd]]
+
* [[NL/Documentation/How_Tos/Calc: Datum- & tijdfuncties#Overzicht datum en tijd|Overzicht datum en tijd]]
  
* [[Documentation/nl/How_Tos/Calc: Datum- & tijdfuncties|Datum- & tijdfuncties]]
+
* [[NL/Documentation/How_Tos/Calc: Datum- & tijdfuncties|Datum- & tijdfuncties]]
  
* [[Documentation/nl/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']],
+
* [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']]
* [[Documentation/nl/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]}}
+
* [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]}}
 
[[Category: NL/Documentation/Reference/Calc]]
 
[[Category: NL/Documentation/Reference/Calc]]

Latest revision as of 09:17, 28 January 2024


WEEKDAG

Geeft de dag van de week voor een opgegeven datum terug.

Syntaxis:

WEEKDAG(datum; type)

geeft de dag van de week terug waarop datum valt, als een getal.
het teruggegven getal is afhankelijk van het type, en wel als volgt:
dag van de week type=1 type=2 type=3
zondag 1 7 6
maandag 2 1 0
dinsdag 3 2 1
woensdag 4 3 2
donderdag 5 4 3
vrijdag 6 5 4
zaterdag 7 6 5
Als type wordt weggelaten, wordt aangenomen dat het 1 is.

Voorbeeld:

WEEKDAG("14-06-2008"; 1)

geeft 7 terug. 14jun08 valt op een zaterdag.

Zie ook

Personal tools