java - is there a simple way to convert Date(sql) to following format Month(3 character) day(int) , year(2014) -


is there simple way convert date(sql) following format month(3 character) day(int) , year(int)?

for example: jan 3, 2014 feb 2, 2014 have this: "2014-02-14"

(i use postgresql, java , javascript on client)

assuming , if want achieve in database side itself. use below sql query.

lets "stack" column containing date value ie "2014-02-14"

select to_char(stack,'mon dd, yyyy') testing; 
 to_char -- feb 14, 2014 

Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -