G
Guest
Hi,
from an ODBC driver I am taking data from a system that includes a date
field (in number format). This comes direct from the system in ddmmccyy
format and I am using:
Audit Date: (Left([ICDATE],2)) & "/" & (Right(Left([ICDATE],4),2)) & "/" &
(Right([ICDATE],4)) where ICDATE is the data field name.
To get the format right. I need to use a function to convert the field in
Access from Number to Date/Time.
Secondly I need to deal with the issue for days <10 as this comes across as
1062006 and hence throws the above formula. If all of this can be in one
formula, all to the good.
Thanks
from an ODBC driver I am taking data from a system that includes a date
field (in number format). This comes direct from the system in ddmmccyy
format and I am using:
Audit Date: (Left([ICDATE],2)) & "/" & (Right(Left([ICDATE],4),2)) & "/" &
(Right([ICDATE],4)) where ICDATE is the data field name.
To get the format right. I need to use a function to convert the field in
Access from Number to Date/Time.
Secondly I need to deal with the issue for days <10 as this comes across as
1062006 and hence throws the above formula. If all of this can be in one
formula, all to the good.
Thanks