M
mattc66 via AccessMonster.com
I am using the below code. However it when the date in my data is before 2000
I get the wrong year displayed. How could I set this up to format the date in
the 1900 and 2000's?
The data comes in as DDMMYY
=IIf(IsNull([DATE_EXP]),Null,DateSerial(2000 + Val(Left([DATE_EXP],2)),Val
(Mid([DATE_EXP],3,2)), Val(Right([DATE_EXP],2))))
I get the wrong year displayed. How could I set this up to format the date in
the 1900 and 2000's?
The data comes in as DDMMYY
=IIf(IsNull([DATE_EXP]),Null,DateSerial(2000 + Val(Left([DATE_EXP],2)),Val
(Mid([DATE_EXP],3,2)), Val(Right([DATE_EXP],2))))