From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Mark Roberts" <RoberM1(at)gosh(dot)nhs(dot)uk> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Date format problems |
Date: | 2004-02-16 15:34:18 |
Message-ID: | 25770.1076945658@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
"Mark Roberts" <RoberM1(at)gosh(dot)nhs(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Roberts | 2004-02-16 15:56:49 | Re: Date format problems |
Previous Message | sad | 2004-02-16 13:23:24 | Re: Getting the week of a date |