add date to PostgreSQL