Days360()

Syntax

Days360(StartDate[$], EndDate[$])

Remarks

Returns the number of days between two dates based on a 360-day year (twelve 30-day months). Use this function to help compute payments if your accounting system is based on twelve 30-day months. The arguments StartDate and EndDate are the two dates between which you want to know the number of days. If StartDate occurs after EndDate, Days360() returns a negative number.

Argument

Explanation

StartDate[$]

A text string or a serial number that represents the initial date. For information about available date formats in Word, see DateValue(). For information about serial numbers, see DateSerial().

EndDate[$]

A text string or a serial number that represents the end date.


Example

This example uses Days360() to determine the number of days between January 1, 1992, and February 1, 1993, assuming a 360-day year:


numdays = Days360("1/1/92","2/1/93")

See Also

DateSerial(), DateValue(), Day()