datetime - Time Difference in PostgreSQL -


i need time 1 hour earlier current time in postgresql.

for example, if time 15:01:06, want result 14:01:06.

how can achieve in postgresql?

will work

select now()-interval '1 hour';


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -