Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Re: Working wit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 3451 of 3799
Post > Topic >>

Re: Working with dates before 4713 BC

by tgl@[EMAIL PROTECTED] (Tom Lane) May 5, 2008 at 09:17 PM

Ryan Wallace <rywall@[EMAIL PROTECTED]
> writes:
> I am building an application which requires the storage of dates
relating to
> the creation of archaeological items. The problem I am facing is that
> although most of the dates are working fine, some of the items were
created
> before the beginning of recorded history (4713 BC). 

The existing date/timestamp code has no chance of dealing with that,
I'm afraid --- I doubt the code is likely to work for negative Julian
dates.  Its underlying assumptions are pretty much fantasy anyway,
that far back.  Nobody was using the Gregorian calendar then ...

Do you really need microsecond, or even day, resolution in your dates?
I wonder if it'd not be good enough to store the year as an integer.

			regards, tom lane

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 3 Posts in Topic:
Working with dates before 4713 BC
rywall@[EMAIL PROTECTED]   2008-05-05 17:22:29 
Re: Working with dates before 4713 BC
tgl@[EMAIL PROTECTED] (T  2008-05-05 21:17:24 
Re: Working with dates before 4713 BC
phillip.smith@[EMAIL PROT  2008-05-06 11:28:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:27:16 CST 2008.