I want to create my own "DateStyle". In this format "YYYMMDD" no time value.
Today: 20141124
Postgres-9.3 on Ubuntu server 14.04.1
Join Stack Overflow to learn, share knowledge, and build your career.
I want to create my own "DateStyle". In this format "YYYMMDD" no time value.
Today: 20141124
Postgres-9.3 on Ubuntu server 14.04.1
to_char
or similar if you want to do this server-side. The client driver (psqlODBC, PgJDBC, or whatever) is free to transform the result PostgreSQL sends into whatever the application wants, though. – Craig Ringer Nov 25 '14 at 1:45