set up a date feature