On Tue, 1 Jan 2013 19:38:53 -0600, "David Cox" <
d....@hushmail.com>
wrote:
Well, here is my two cents worth. I'll let the experts chime in with
specifics.
Frankly, I shudder whenever I see hard coded formats used in internal
calculations. Presentation only!
I get a queasy stomach any time I see someone attempting to apply
equality to 'date' or 'date strings' coming from two separate sources.
Or worse mixing them - Date to Date String.
I'll skip the chill that comes down my spine when I see 'Dates'
compared or piddled with without regard to the fact that most Date
data types are actually DATE-TIMEs. ie, there is a fractional part
hanging around there somewhere. You hope it is zero. <g>
All of that is only trouble brewing as Gary Larson used to say.
Keep 'Dates' in their native format which is a decimal. Store Dates as
Dates. Always capture dates as a 'DATE' data type. Always perform
calculations using the DATE data type. Appreciating that all 'Dates'
are floats and you can easily see why comparing for equality is
off-the-table. <g>
My advice: forget that Dates have any kind of string representation
(except for Presentation) and go back to re-write, before I become
seriously ill. <bg>
-ralph