getting date support to work