I am trying to get the smallest possible value for date (ie, the earliest date). If I were using Java, I would do something like this:
new Date(Long.MIN_VALUE)
I could do something like this, but that seems like a lot of extra work. I could also just hard code the value like this: datetime.newInstance(-99999999999L);, because I think that is the smallest Long value possible... But that is not the nicest thing.
Any better ideas?