Search Postgresql Archives

Re: postgres timestamp data errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



maxxedev maxxedev wrote:

> db=# show timezone;
>  TimeZone
> ----------
>  Eire
> (1 row)

> db=# insert into test_table values('1912-03-14 00:00:00.000000 -0025');
> INSERT 0 1
> db=# select * from test_table;
>  invoice_date
> ------------------------------
>  1912-03-13 23:59:39-00:25:21
> (1 row)
> 
> 
> Note that inserted timestamp and stored timestamps are logically
> equivalent. However, why does SELECT show the timestamp in a timezone
> offset with minute precision?

Because in 1913, that was the offset between Dublin time and GMT.

http://www.velocityreviews.com/forums/t372817-timestamp-and-the-eire-timezone.html

-Kevin


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux