| От | Raymond O'Donnell |
|---|---|
| Тема | Re: localtime(0) |
| Дата | |
| Msg-id | 54A19EE1.3090707@iol.ie обсуждение исходный текст |
| Ответ на | Re: localtime(0) (Suresh Raja <suresh.rajaabc@gmail.com>) |
| Ответы |
Re: localtime(0)
|
| Список | pgsql-general |
On 29/12/2014 17:25, Suresh Raja wrote: > clock_timestamp() gives more than I need. i just need time, - no date, > or msec or timezone. How can i get to print the current time alone. > Please don't top-post; the convention on this list is to bottom-post, as it makes discussions easier to follow. Depending on your needs, you could use to_char() to format the value of clock_timestamp() as you wish. This outputs a string rather than a time value, but would be fine for logging, say. Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера