<HTML
><HEAD
><TITLE
>DAYS360 </TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"><LINK
REL="HOME"
TITLE="Gnumeric's user manual"
HREF="gnumeric.html"><LINK
REL="UP"
TITLE="Reference"
HREF="function-reference.html#AEN1187"><LINK
REL="PREVIOUS"
TITLE="STDEVPA"
HREF="r6860.html"><LINK
REL="NEXT"
TITLE="DVARP"
HREF="r6911.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Gnumeric's user manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="r6860.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="r6911.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="AEN6884"
><A
NAME="GNUMERIC-DAYS360"
></A
>DAYS360</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN6889"
></A
><H2
>Name</H2
>DAYS360 &nbsp;--&nbsp;</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN6892"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>DAYS360 (date1,date2,method)</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6894"
></A
><H2
>Description</H2
><P
>Returns the number of days from @date1 to @date2 following a 360-day calendar in which all months are assumed to have 30 days.</P
><P
>If @method is true, the European method will be used.  In this case, if the day of the month is 31 it will be considered as 30.</P
><P
>If @method is false or omitted, the US method will be used.  This is a somewhat complicated industry standard method.</P
><P
>Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6900"
></A
><H2
>Examples</H2
><P
></P
><P
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6904"
></A
><H2
>See also</H2
><P
>        <A
HREF="r8870.html#GNUMERIC-MONTH"
>MONTH</A
>
,         <A
HREF="r3620.html#GNUMERIC-TIME"
>TIME</A
>
,         <A
HREF="r5262.html#GNUMERIC-NOW"
>NOW</A
>
,         <A
HREF="r5691.html#GNUMERIC-YEAR"
>YEAR</A
>
      </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="r6860.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="gnumeric.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="r6911.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
NAME="GNUMERIC-STDEVPA"
></A
>STDEVPA</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="function-reference.html#AEN1187"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
NAME="GNUMERIC-DVARP"
></A
>DVARP</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>