pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
UNIX TIME STAMP
2+ messages / 2 participants
[nested] [flat]

* UNIX TIME STAMP
@ 2007-04-03 06:15 Mageshwaran <j_mageshwaran@sifycorp.com>
  2007-04-03 14:58 ` Re: UNIX TIME STAMP Alexander Vysokovskih <av@ural.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Mageshwaran @ 2007-04-03 06:15 UTC (permalink / raw)
  To: pgsql-admin

Hi Everyone.

Is there any function in postgresql7.1.3 to convert unix time stamp to 
normal date and time format


Regards
J Mageshwaran


********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin@sifycorp.com


Complete Coverage of the ICC World Cup '07! Log on to www.sify.com/khel for 
latest updates, expert columns, schedule, desktop scorecard, photo galleries 
and more!

Watch the hottest videos from Bollywood, Fashion, News and more only on 
www.sifymax.com

For the Expert view of the ICC World Cup log on to www.sify.com/khel. 
Read exclusive interviews with Sachin, Ganguly, Yuvraj, Sreesanth, Expert 
Columns by Gavaskar, Web chat with Dhoni and more! .



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

* Re: UNIX TIME STAMP
  2007-04-03 06:15 UNIX TIME STAMP Mageshwaran <j_mageshwaran@sifycorp.com>
@ 2007-04-03 14:58 ` Alexander Vysokovskih <av@ural.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alexander Vysokovskih @ 2007-04-03 14:58 UTC (permalink / raw)
  To: Mageshwaran <j_mageshwaran@sifycorp.com>; +Cc: pgsql-admin

Hello, Mageshwaran.

> Is there any function in postgresql7.1.3 to convert unix time stamp to
> normal date and time format

select date(timestamp 'epoch' + unixtime_column * interval '1 second') from Table;

-- 
Regards,
 Alexander Vysokovskih                  mailto:av@ural.org




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


end of thread, other threads:[~2007-04-03 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-04-03 06:15 UNIX TIME STAMP Mageshwaran <j_mageshwaran@sifycorp.com>
2007-04-03 14:58 ` Alexander Vysokovskih <av@ural.org>

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