Difference between revisions of "Manuals/calci/DAYS360"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align=...")
 
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''DAYS360(sd,ed,lv)'''</div><br/>
  
Syntax
+
*where 'sd' is the starting date,'ed' is the end date and 'lv' is the logical value like true or false
  
</div></div>
 
----
 
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
 
  
Examples
+
==Description==
 +
*This function gives the number of days between given dates based on 360day year (30 days in 12 months).
 +
*Here SD and ED are the two dates to find the in between these two dates.
 +
*LV is the logical value like TRUE or FALSE.
 +
*When logical value is true , then the result  is based on U.S.method.
 +
*when logical value is false, then the result is based on the European method .
 +
*when we not giving any logical values it will consider the U.S method.
 +
*This function will give result as NAN , when the end date is before the starting date.
  
</div></div>
 
----
 
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
 
----
 
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
 
  
</div></div>
+
==Examples==
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="6" face="Arial, sans-serif"><font size="6">'''DAYS360 '''</font></font>
 
  
'''<font size="6" face="Arial"></font>'''
+
*DAYS360("12/13/2013","1/13/2014",TRUE)=30
 +
*DAYS360("2/20/2013","3/3/2013",FALSE)= 13
  
</div></div>
+
==See Also==
----
 
<div id="7SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
  
'''<font color="#484848"><font face="Arial, sans-serif"><font size="2">DAYS360</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">(sd</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">,</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">ed</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">,log V)</font></font></font>'''
+
*[[Manuals/calci/DATE  | DATE]]
 +
*[[Manuals/calci/DAYS | DAYS]]
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">where sd</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">''' '''and ed</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">  are the two dates and log V is a logical value that specifies whether to use the U.S. or European method in the calculation.</font></font></font>
 
  
</div></div>
+
==References==
----
+
[http://en.wikipedia.org/wiki/Complex_number| Complex Numbers]
<div id="1SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">This function gives the number of days between two dates based on a 360-day year .</font></font></font>
 
 
 
</div></div>
 
----
 
<div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Let's see an example </font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">I.e =DAYS360(“2/27/2007 ”,”3/15/2007”) is 18</font></font></font>
 
 
 
</div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 18
 
| class="            " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| class="  " | Row2
 
| class="f52543                                                    " |
 
| class="  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>
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| Row3
 
| class="  " |
 
| 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=" " |
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Revision as of 06:31, 14 November 2013

DAYS360(sd,ed,lv)


  • where 'sd' is the starting date,'ed' is the end date and 'lv' is the logical value like true or false


Description

  • This function gives the number of days between given dates based on 360day year (30 days in 12 months).
  • Here SD and ED are the two dates to find the in between these two dates.
  • LV is the logical value like TRUE or FALSE.
  • When logical value is true , then the result is based on U.S.method.
  • when logical value is false, then the result is based on the European method .
  • when we not giving any logical values it will consider the U.S method.
  • This function will give result as NAN , when the end date is before the starting date.


Examples

  • DAYS360("12/13/2013","1/13/2014",TRUE)=30
  • DAYS360("2/20/2013","3/3/2013",FALSE)= 13

See Also


References

Complex Numbers