If the dates are in some form of numeric 'year month day hour minute second', then check all fields are 0 padded, and a gt/lt/eq compare is perfectly valid and simple to grok what's going on. Its only when you get to the insanity of YYYY DD MM formats, that things go pear shaped...
http://www.w3.org/TR/NOTE-datetime
Cheers, R.
Pereant, qui ante nos nostra dixerunt!
| [reply] [d/l] |
| [reply] |
and the OP also doesn't compare dates successfully. I believe there is a high correlation between these two facts. I just meant to point out that, while comparing dates as strings will get rid of the warnings, it is probably not desirable.
| [reply] |