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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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