Difference between revisions of "Manuals/calci/DAYSBETWEEN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<div style="font-size:30px">'''DAYSBETWEEN(fd,sd)'''</div><br/>
 
<div style="font-size:30px">'''DAYSBETWEEN(fd,sd)'''</div><br/>
  
*where 'fd' is the starting date and 'sd' is the second (final )date
+
*where <math>fd</math> is the starting date and <math>sd</math> is the second (final )date
  
 
==Description==
 
==Description==
 
*This function gives the number of days between the first date and the second date(30 days in 12 months).  
 
*This function gives the number of days between the first date and the second date(30 days in 12 months).  
*Here FD and SD are two dates to find the number of in between days.  
+
*Here <math>fd</math> and <math>sd</math> are two dates to find the number of in between days.  
*Also FD and SD we have to give in DATE function format.
+
*Also <math>fd</math> and <math>sd</math> we have to give in DATE function format.
  
 
==Examples==
 
==Examples==
Line 20: Line 20:
  
 
==References==
 
==References==
[http://en.wikipedia.org/wiki/Complex_number| Complex Numbers]
 

Revision as of 07:06, 19 November 2013

DAYSBETWEEN(fd,sd)


  • where is the starting date and is the second (final )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.

Examples

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

See Also

References