Formating Dates

Поиск
Список
Период
Сортировка
От Colin Gillespie
Тема Formating Dates
Дата
Msg-id 20DA376D0C991745A4D5249F7BCD7A250D36D2@largo.campus.ncl.ac.uk
обсуждение исходный текст
Ответы Re: Formating Dates  (Ron St-Pierre <rstpierre@syscor.com>)
Список pgsql-novice
Dear All,

I have table which has a column 'timestamp' and a default 'now()'. Using this method puts the date into table but
includesupto milliseconds. How do I view only the date and time (not including seconds).  

For example  2004-03-30 09:46:36.904064 would become 2004-03-30 09:46:36

Thanks

Colin

В списке pgsql-novice по дате отправления:

Предыдущее
От: joe@tsolucio.com (Joe Bordes)
Дата:
Сообщение: Re: how to test string against regular expression contained in postgresql database field?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Help for MSSQL "Compute" equivalent in Postgres