TDD for date and time functions that don't exist yet. Tests should fail.
Make encode_date() and encode_time() tests pass.