Files
Maxim Kadushkin 035166509d Merge pull request #2755 from ONLYOFFICE/feature/update-lunr-without-kor
Feature/update lunr without kor
2023-12-21 16:25:39 +03:00

49 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>DAYS360 Function</title>
<meta charset="utf-8" />
<meta name="description" content="" />
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../../../../../../common/main/resources/help/search/js/page-search.js"></script>
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
<h1>DAYS360 Function</h1>
<p>The <b>DAYS360</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#datetime" onclick="onhyperlinkclick(this)">date and time functions</a>. Is used to return the number of days between two dates (start-date and end-date) based on a 360-day year using one of the calculation method (US or European).</p>
<h3>Syntax</h3>
<p><b><em>DAYS360(start_date, end_date, [method])</em></b></p>
<p>The <b>DAYS360</b> function has the following arguments:</p>
<table style="width: 40%">
<tr>
<th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
<th style="background-color: #f4f4f4"><b>Description</b></th>
</tr>
<tr>
<td><b><em>start_date</em></b></td>
<td><b><em>start_date</em></b> and <b><em>end_date</em></b> are two dates you wish to calculate the number of days between.</td>
</tr>
<tr>
<td><b><em>end_date</em></b></td>
<td><b><em>start_date</em></b> and <b><em>end_date</em></b> are two dates you wish to calculate the number of days between.</td>
</tr>
<tr>
<td><b><em>method</em></b></td>
<td>An optional logical value: <b>TRUE</b> or <b>FALSE</b>. If it is set to <b>TRUE</b>, the calculation will be performed using the European method, according to which the start and end dates that occur on the 31st of a month become equal to the 30th of the same month.<br />
If it is <b>FALSE</b> or omitted, the calculation will be performed using the US method, according to which if the start date is the last day of a month, it becomes equal to the 30th of the same month. If the end date is the last day of a month and the start date is earlier than the 30th of a month, the end date becomes equal to the 1st of the next month. Otherwise the end date becomes equal to the 30th of the same month.</td>
</tr>
</table>
<h3>Notes</h3>
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>DAYS360</b> function.</p>
<h3>Examples</h3>
<p>The figure below displays the result returned by the <b>DAYS360</b> function.</p>
<p><img alt="DAYS360 Function" src="../images/days360.png" /></p>
</div>
</body>
</html>