Difference between revisions of "Documentation/How Tos/Calc: WORKDAY function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: WORKDAY function}} |
+ | {{Documentation/CalcFunc DateTimeTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_EDATE_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_NETWORKDAYS_function | ||
+ | }}__NOTOC__ | ||
== WORKDAY == | == WORKDAY == | ||
− | Returns a date a given number of workdays away. | + | Returns a date which is a given number of workdays away. |
This function is only available if the '''Analysis AddIn''' is installed. | This function is only available if the '''Analysis AddIn''' is installed. | ||
Line 13: | Line 18: | ||
=== Example: === | === Example: === | ||
− | <tt>'''WORKDAY("2008 | + | <tt>'''WORKDAY("2008-09-05"; 1)'''</tt> |
: returns the date-time serial number for Monday 8Sep08. 5Sep08 is a Friday. | : returns the date-time serial number for Monday 8Sep08. 5Sep08 is a Friday. | ||
− | <tt>'''WORKDAY("2008 | + | <tt>'''WORKDAY("2008-09-05"; 1; D1:D2)'''</tt> |
: where D1 contains 8Sep08 and D2 contains 25Dec08, returns the date-time serial number for 9Sep08. The 8Sep08 is specified as a holiday. | : where D1 contains 8Sep08 and D2 contains 25Dec08, returns the date-time serial number for 9Sep08. The 8Sep08 is specified as a holiday. | ||
− | + | {{SeeAlso|EN| | |
− | + | * [[Documentation/How_Tos/Calc: NETWORKDAYS function|NETWORKDAYS]] | |
− | + | * [[Documentation/How_Tos/Calc: EDATE function|EDATE]] | |
− | + | * [[Documentation/How_Tos/Calc: Date & Time functions#Date and Time overview|Date & Time overview]] | |
− | + | * [[Documentation/How_Tos/Calc: Date & Time functions|Date & Time functions]] | |
+ | |||
+ | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Date and Time functions]] |