Day from date functioning.