"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