| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера