Re: Date format problems - Mailing list pgsql-sql

From Tom Lane
Subject Re: Date format problems
Date
Msg-id 25770.1076945658@sss.pgh.pa.us
Whole thread Raw
In response to Date format problems  ("Mark Roberts" <RoberM1@gosh.nhs.uk>)
List 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 by date:

Previous
From: sad
Date:
Subject: Re: Getting the week of a date
Next
From: Mark Gibson
Date:
Subject: Tip: a function for creating a remote view using dblink