Difference between revisions of "Manuals/calci/DAYSBETWEEN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left">  <font face="Arial, sans-serif"><font size="2">'''DAYSBETWEEN( First date, Second date)'''</font></font> <br /> ...")
 
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"> 
+
<div style="font-size:30px">'''DAYSBETWEEN(firstdate,seconddate)'''</div><br/>
  
<font face="Arial, sans-serif"><font size="2">'''DAYSBETWEEN( First date, Second date)'''</font></font>
+
*<math>firstdate</math> is the starting date.
 +
*<math>seconddate</math> is the end date.
  
<br />
+
==Description==
 +
*This function gives the number of days between the first date and the second date(30 days in 12 months).
 +
*Here <math>firstdate</math> and <math>seconddate</math> are two dates to find the number of in between days.
 +
*Also <math>firstdate</math> and <math>seconddate</math> we have to give in [[Manuals/calci/DATE | DATE]] function format.
 +
*This function will give the result as error when the <math>seconddate</math> is before the <math>firstdate</math>.
 +
**We can use the DD/MM/YYYY format also. For Example:"14/5/2005[DD/MM/YYYY]".
  
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left"> 
 
  
<font face="Arial, sans-serif"><font size="2">This function calculates the number of days between two particular dates.</font></font>
+
==ZOS==
 +
*The syntax is to calculate DAYSBETWEEN in ZOS is <math>DAYSBETWEEN(firstdate,seconddate)</math>.
 +
*<math>firstdate</math> is the starting date.
 +
*<math>seconddate</math> is the end date.
 +
*For e.g.,DAYSBETWEEN("2/1/1999","3/2/2005") = 2222.
 +
{{#ev:youtube|uzjJ_2v2MVw|280|center|Days between}}
  
</div>
+
==Examples==
----
+
*=DAYSBETWEEN("2/28/2008","3/13/2008")=15
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
+
*=DAYSBETWEEN("1-Sep-2014","1-Sep-2015")=366
  
DAYSBETWEEN
+
==Related Videos==
  
</div></div>
+
{{#ev:youtube|4CfTkI37jaM|280|center|DAYS360}}
----
 
<div id="8SpaceContent" class="zcontent" align="left"> 
 
  
<font face="Arial, sans-serif"><font size="2">Lets see an example,</font></font>
+
==See Also==
 +
*[[Manuals/calci/DAYS360 | DAYS360]]
 +
*[[Manuals/calci/DATE | DATE]]
 +
*[[Manuals/calci/DAY | DAY]]
  
<br />
+
==References==
 +
*[http://en.wikipedia.org/wiki/360-day_calendar| 360DAYS]
  
<font face="Arial, sans-serif"><font size="2">DAYSBETWEEN( First date, Second date)</font></font>
 
  
<br />
 
  
<font face="Arial, sans-serif"><font size="2">'''B'''</font></font>
 
  
<br />
+
*[[Z_API_Functions | List of Main Z Functions]]
  
<font face="Arial, sans-serif"><font size="2">01-01-2008</font></font>
+
*[[ Z3 |  Z3 home ]]
 
 
<br />
 
 
 
<font face="Arial, sans-serif"><font size="2">25-12-2008</font></font>
 
 
 
<br />
 
 
 
<font face="Arial, sans-serif"><font size="2">DAYSBETWEEN(B2,B3)</font></font>
 
 
 
<br />
 
 
 
<font face="Arial, sans-serif"><font size="2"><nowiki>=DAYSBETWEEN(First date, Second date) is 743</nowiki></font></font>
 
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE1" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 01-01-2008
 
| class="                                                                                                          " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 25-12-2008
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| Row3
 
| class="sshl_f      " | 743
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row4
 
| class="                                                                                        " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| class=" " | Row5
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row6
 
| class=" " |
 
| class=" " |
 
| class="    " |
 
| class="  SelectTD  SelectTD" |
 
<div id="4Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="4Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Latest revision as of 13:34, 22 May 2018

DAYSBETWEEN(firstdate,seconddate)


  • is the starting date.
  • is the end date.

Description

  • This function gives the number of days between the first date and the second date(30 days in 12 months).
  • Here and are two dates to find the number of in between days.
  • Also and we have to give in DATE function format.
  • This function will give the result as error when the is before the .
    • We can use the DD/MM/YYYY format also. For Example:"14/5/2005[DD/MM/YYYY]".


ZOS

  • The syntax is to calculate DAYSBETWEEN in ZOS is .
  • is the starting date.
  • is the end date.
  • For e.g.,DAYSBETWEEN("2/1/1999","3/2/2005") = 2222.
Days between

Examples

  • =DAYSBETWEEN("2/28/2008","3/13/2008")=15
  • =DAYSBETWEEN("1-Sep-2014","1-Sep-2015")=366

Related Videos

DAYS360

See Also

References