Postgres Date To String Python Methods