Skip site navigation (1) Skip section navigation (2)

Re: libpg date/timestamps format used by PQgetvalue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Ayers <d(dot)ayers(at)inode(dot)at>
Cc: pgsql-novice(at)postgresql(dot)org, Matt Rice <ratmice(at)yahoo(dot)com>
Subject: Re: libpg date/timestamps format used by PQgetvalue
Date: 2004-04-28 04:55:05
Message-ID: 23287.1083128105@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
David Ayers <d(dot)ayers(at)inode(dot)at> writes:
> It's been reported that on some systems 
> we get something like:
> %d/%m/%Y %H:%M:%S.00 %Z
> and others:
> %m-%d-%Y %H:%M:%S %Z

> Is this version/local dependent?

No, but it is dependent on the DateStyle configuration variable ...

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Tom LaneDate: 2004-04-28 05:00:07
Subject: Re: Could not create shared memory segment...(in linux)
Previous:From: Tom LaneDate: 2004-04-28 04:51:42
Subject: Re: Running postgresql on localhost

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group