Supposing the date of today is 20141012 and you want to calculate the days left in this month October or this year 2014 that is to say there is remaining 19 days of this month and 80 days of this year. First the DATE function creates the date 5. Use Datedif to find number of months between two dates.
It takes a date serial number or date and lets you extract parts of the date to fit your required format.
The DAYS function was introduced in MS Excel 2013. The TEXT function is a great function to convert dates to different text formats. Use a different formula to find days. To subtract months enter a negative number as the second argument.