R
rama
I am importing some text data to access 2007 database which contains
few date fields. I tried to convert this date stored as text to date
using following expression in access but it brings unexpected
results.
ReqDate: DateSerial(Right([RequirementDate],4),Left(Right
([RequirementDate],10),2),Left(Mid([RequirementDate],5),2))
I am putting some sample results of the query, some are correct and
some are wrong. I would like to eliminate these errors.
RequirementDate ReqDate
21.05.2009 9/5/2010
06.05.2008 6/5/2008
06.05.2008 6/5/2008
22.01.2009 10/1/2010
10.06.2008 10/6/2008
Thanks
Rama
few date fields. I tried to convert this date stored as text to date
using following expression in access but it brings unexpected
results.
ReqDate: DateSerial(Right([RequirementDate],4),Left(Right
([RequirementDate],10),2),Left(Mid([RequirementDate],5),2))
I am putting some sample results of the query, some are correct and
some are wrong. I would like to eliminate these errors.
RequirementDate ReqDate
21.05.2009 9/5/2010
06.05.2008 6/5/2008
06.05.2008 6/5/2008
22.01.2009 10/1/2010
10.06.2008 10/6/2008
Thanks
Rama