I work with different databases in a number of different time zones (and periods of time) and one thing that normally originates problems, is the date/time definition.
F
The earliest timestamp is '-infinity'. This is a special value. The other side is 'infinity' which is later than any specific timestamp.
I don't know of a way of getting this programaticly. I would just use the value hard-coded the way you might use NULL. That means you have to handle infinities on the client side though.