Get day from date
In the example, the formula is: B5 contains a date value for January 5, 2016. The DAY function returns the number 5 representing the day component of the date. you might use the DAY function to extract a day number from a date into a cell.