« SVN update without a particular directory | Main | Pomodoro and Content Audit »

September 10, 2012

Casting and formatting dates in PostgreSQL

select to_char(to_timestamp(now()::abstime::int4), 'Day DD Month YYYY HH24:MI:SS') as "The Day Today"

Tags: PostgreSQL

Posted by pj at September 10, 2012 09:04 PM

Comments