Hi Mike!
Here's some general advice I've put together regarding date entry to
go with
the references to:
Chip Pearson:
http://www.cpearson.com/excel/DateTimeEntry.htm
and:
Dave McRitchie:
http://www.mvps.org/dmcritchie/excel/datetime.htm
Those pages both have great links at the bottom to their main topics
pages and are well worth following and then bookmarking as favorites.
Excel records dates as the number of days since 31-Dec-1899 (i.e. 1 =
1-Jan-1900)
Thus your entry of 010203 represents 10,203 days since 31-Dec-1899
which is 14-Jan-1955
To be certain that a date is what you want, you must enter a date in a
form recognised by Excel as a date. This varies from Regional setting
to Regional setting. Your 10/01/03 will be 1-Oct-2003, or 10-Jan-2003
or 03 Jan 2010 depending on my Regional settings. If some goon has
played with the double digit year interpretation you could add 20th
century options as well.
There are nine date entry forms that are unequivocally accepted by
Excel as meaning what an English language speaking user of English
language Excel Versions / Settings requires:
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.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.