Re: Date format problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Date format problems
Дата
Msg-id 25770.1076945658@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Date format problems  ("Mark Roberts" <RoberM1@gosh.nhs.uk>)
Список pgsql-sql
"Mark Roberts" <RoberM1@gosh.nhs.uk> writes:
> Hi im using the function below to insert data into my db; im using
> now() to get the timestamptz, however when inserted in the db the format
> seems to vary, the majority of the time its in the required European
> style but does spontaniously change to various other type can anyone
> throw any light on this problem. 

This is way too vague for anyone to help.  What PG version are you
using?  What is the actual datatype of the column you're inserting into?
Can you provide a specific example of a misformatted data value?
        regards, tom lane


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

Предыдущее
От: sad
Дата:
Сообщение: Re: Getting the week of a date
Следующее
От: Mark Gibson
Дата:
Сообщение: Tip: a function for creating a remote view using dblink