Cleanup for days function.