Difference between revisions of "NL/Documentation/How Tos/Calc: functie WEEKDAG"
From Apache OpenOffice Wiki
< NL | Documentation | How Tos
OOoWikiBot (talk | contribs) m (Bot: Adding Category: Documentation) |
m (→Voorbeeld:) |
||
(3 intermediate revisions by 3 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/Documentation/ZieOok| |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie JAAR|JAAR]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie MAAND|MAAND]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie DAG|DAG]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie UUR|UUR]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie MINUUT|MINUUT]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie SECONDE|SECONDE]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: Datum- & tijdfuncties#Overzicht datum en tijd|Overzicht datum en tijd]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: Datum- & tijdfuncties|Datum- & tijdfuncties]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]}} |
− | [[Category: Documentation]] | + | [[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