Hi Chris!
The list of date formats that are unequivocally recognised by all
versions of Excel is:
12 January 2002
12-January-2002
12/January/2002
12 Jan 2002
12-Jan-2002
12/Jan/2002
2002-01-12
2002/01/12
2002/1/12
Methods 3,4 and 5 are the most commonly selected. They are quick to
type and take up the least width of cell.
Method 7 is ISO8601:2000 approved (separated) form and has the even
greater advantage that it does not "demand" an English language date.
I believe it is a form that is recognized by all Regional settings but
I haven't checked that out for all countries and all Excel Versions
(OK for Versions down to Excel 97). For other forms the short or long
month names need translating to the appropriate language. Methods 8
and 9 are non-compliant ISO ordered and I would ask, "Why use these
when the real McCoy is available?"
You might note that all use 4 digit years and thus protect against
change of the double digit year interpretation setting. If you use
double digit years you risk major error if some darn fool changes your
double digit year interpretation setting or if your application is
used on another computer with different settings.
Even without adoption of the potentially confusing ISO method, there
are variations that allow Kwikimart to tell how far past the use by
date their stock is.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
[email protected]
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.