pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to add 1 hour in a date or time stamp?
4+ messages / 4 participants
[nested] [flat]

* How to add 1 hour in a date or time stamp?
@ 2005-04-18 13:38 Dinesh Pandey <dpandey@secf.com>
  2005-04-18 13:50 ` Re: [SQL] How to add 1 hour in a date or time stamp? Sean Davis <sdavis2@mail.nih.gov>
  2005-04-18 13:53 ` Re: [SQL] How to add 1 hour in a date or time stamp? Larry Rosenman <ler@lerctr.org>
  2005-04-18 14:39 ` Re: [SQL] How to add 1 hour in a date or time stamp? Achilleus Mantzios <achill@matrix.gatewaynet.com>
  0 siblings, 3 replies; 4+ messages in thread

From: Dinesh Pandey @ 2005-04-18 13:38 UTC (permalink / raw)
  To: pgsql-sql; pgsql-general@postgresql.org

 

How to add 1 hour in a date or time stamp?

Regards
Dinesh Pandey


----------------------------------------------------------------------------
------



 

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] How to add 1 hour in a date or time stamp?
  2005-04-18 13:38 How to add 1 hour in a date or time stamp? Dinesh Pandey <dpandey@secf.com>
@ 2005-04-18 13:50 ` Sean Davis <sdavis2@mail.nih.gov>
  2 siblings, 0 replies; 4+ messages in thread

From: Sean Davis @ 2005-04-18 13:50 UTC (permalink / raw)
  To: dpandey@secf.com; pgsql-sql; pgsql-general@postgresql.org

Dinesh,

The documentation is very helpful for this topic.  Typing 'add 1 hour timestamp' into the search box at:

http://www.postgresql.org/docs/8.0/interactive/index.html

yields the following page as the first hit:

http://www.postgresql.org/docs/8.0/static/functions-datetime.html

Sean

  ----- Original Message ----- 
  From: Dinesh Pandey 
  To: 'PostgreSQL' ; pgsql-general@postgresql.org 
  Sent: Monday, April 18, 2005 9:38 AM
  Subject: [SQL] How to add 1 hour in a date or time stamp?


   

  How to add 1 hour in a date or time stamp?

  Regards
  Dinesh Pandey


  ----------------------------------------------------------------------------------



   

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] How to add 1 hour in a date or time stamp?
  2005-04-18 13:38 How to add 1 hour in a date or time stamp? Dinesh Pandey <dpandey@secf.com>
@ 2005-04-18 13:53 ` Larry Rosenman <ler@lerctr.org>
  2 siblings, 0 replies; 4+ messages in thread

From: Larry Rosenman @ 2005-04-18 13:53 UTC (permalink / raw)
  To: dpandey@secf.com; +Cc: pgsql-sql; pgsql-general@postgresql.org

On Monday 18 April 2005 08:38 am, Dinesh Pandey wrote:
> How to add 1 hour in a date or time stamp?
timestamp + '1 hour'::interval 

is one way.


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-351-4152                 E-Mail: ler@lerctr.org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] How to add 1 hour in a date or time stamp?
  2005-04-18 13:38 How to add 1 hour in a date or time stamp? Dinesh Pandey <dpandey@secf.com>
@ 2005-04-18 14:39 ` Achilleus Mantzios <achill@matrix.gatewaynet.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Achilleus Mantzios @ 2005-04-18 14:39 UTC (permalink / raw)
  To: Dinesh Pandey <dpandey@secf.com>; +Cc: pgsql-sql; pgsql-general@postgresql.org

O Dinesh Pandey Ýãñáøå óôéò Apr 18, 2005 :

>  
> 
> How to add 1 hour in a date or time stamp?

# SELECT now() + '1 hour'::interval;


> 
> Regards
> Dinesh Pandey
> 
> 
> ----------------------------------------------------------------------------
> ------
> 
> 
> 
>  
> 
> 

-- 
-Achilleus




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-04-18 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 13:38 How to add 1 hour in a date or time stamp? Dinesh Pandey <dpandey@secf.com>
2005-04-18 13:50 ` Sean Davis <sdavis2@mail.nih.gov>
2005-04-18 13:53 ` Larry Rosenman <ler@lerctr.org>
2005-04-18 14:39 ` Achilleus Mantzios <achill@matrix.gatewaynet.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox