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';
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
Post a Comment