![]() |
Leading the way in Microsoft Office Development |
| Home | | | Excel | | | Word | | | PowerPoint | | | Consultancy | | | Feedback | | | Contact |
| Microsoft Excel > Functions > Date and Time > DAYS360 |
DAYS360(start_date, end_date [,method]) |
| Returns the number of days between two dates, based on 30 day months. |
| start_date | The first date or starting date of the period. | |
| end_date | The last date or ending date of the period. | |
| method | True or False to specify whether to use the US or European method. |
| REMARKS |
| The calendar used is based on a 360 day year with twelve 30 day months. | ||
| The "date" arguments can be entered as text strings within quotation marks, as serial numbers or as results of other formulas or functions. | ||
| If "start_date" is the 31st of a month then the 30th of that month is used. | ||
| If "start_date" > "end_date", then a negative number is returned. | ||
| If "start_date" is not a valid date, then #VALUE! is returned. | ||
| If "end_date" is not a valid date, then #VALUE! is returned. | ||
| If "method" = False, then any ending dates that occur on the 31st of a month become equal to the 1st of the next month (US). | ||
| If "method" = True, then any ending dates that occur on the 31st of a month become the 30th of that month (European). | ||
| If "method" is left blank, then False is used. | ||
| This function is useful for some accountancy systems that use a 360 day calendar. | ||
| You can use the NETWORKDAYS() function to return the number of days excluding weekends and holidays. | ||
| Example 3 & 12 - You should always put your dates as a text string rather than just in a date format. | ||
| Example 10 - You should always try and use the DATE() function to ensure you get the correct value. |
| EXAMPLES |
|
| Functions - D | Index - D | Dates & Times | Office Online |
| Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved. | Top |