support datetimes

closes #1