Demonstrating functions and the date object