Create table with date or datetime column