Re: Formatting TimeStamp
От | Joshua D. Drake |
---|---|
Тема | Re: Formatting TimeStamp |
Дата | |
Msg-id | 43207207.4080509@commandprompt.com обсуждение исходный текст |
Ответ на | Formatting TimeStamp (Alex <alex@meerkatsoft.com>) |
Ответы |
Formatting TimeStamp
|
Список | pgsql-general |
Alex wrote: > Hi, > > I am using the timestamp various tables but dont like to see the > microseconds. > Is there way to format the output of timestamp fields globally (in the > postgres.conf)? > Preferably i only would like to see the YYYYMMDD HH:MM:SS. > > Or can a formatting be passed to a SELECT * .... hmmm probably not. http://www.postgresql.org/docs/8.0/static/functions-datetime.html And yes you can do it in a SELECT. Sincerely, Joshua D. Drake > > Thanks for any advise > > A > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly -- Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240 PostgreSQL Replication, Consulting, Custom Programming, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/
В списке pgsql-general по дате отправления: