fix inserting dates in tuples by using setTimestamp instead of setDate