Re: date format

Поиск
Список
Период
Сортировка
От David Rysdam
Тема Re: date format
Дата
Msg-id 43987540.1050709@ll.mit.edu
обсуждение исходный текст
Ответ на date format  (David Rysdam <drysdam@ll.mit.edu>)
Ответы Re: date format  (David Rysdam <drysdam@ll.mit.edu>)
Список pgsql-general
David Rysdam wrote:

> I could swear (but I don't think I can prove at this point) that 8.0
> beta3 returned timestamps with milliseconds, like this:
>
> YYYY-MM-DD HH24:MI:SS.MS
>
> But 8.1 isn't doing that.  I see functions to format the date, but
> that would require me to change all my existing SQL to specifically
> ask for the milliseconds.  There's also the "set datestyle" thing, but
> the granularity doesn't exist to specify an exact format such as the
> above.  Is there a way to tell postgres *exactly* what I want the
> *default* date output format to be?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
>
Nevermind, the documentation just seems to be unclear.  I do get .MS
back in ISO format (despite that not being shown as part of the ISO
format).  It's just that none of my dates have milliseconds on them,
which is simply a bug I'll have to find.

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

Предыдущее
От: David Rysdam
Дата:
Сообщение: date format
Следующее
От: David Rysdam
Дата:
Сообщение: Re: date format