Mega Code Archive

 
Categories / PostgreSQL / Date Timezone
 

Sets the DATESTYLE variable to use traditional PostgreSQL style formatting

postgres=# postgres=# -- Sets the DATESTYLE variable to use traditional PostgreSQL style formatting. postgres=# postgres=# SET DATESTYLE TO Postgres,US; SET postgres=# postgres=#