G
Guest
This is driving me nuts!
I have text field [APPT_DT_TM)which actually contains a concatenated date &
time value e.g
200605021541
= 2nd May 2006, 15:41
I want to use that to create two new fields in a query, one holding the
date, one holding the time.
I've got the date, using
APPT_DATE:
DateSerial(Left([APPT_DT_TM],4),Mid([APPT_DT_TM],5,2),Mid([APPT_DT_TM],7,2))
And I've faked a time field with
APPT_TIME: Mid([APPT_DT_TM],9,2) & ":" & Mid([APPT_DT_TM],11,2)
But how can I get the time part to be an actual time value for calculation
purposes?
Regards
Matt
I have text field [APPT_DT_TM)which actually contains a concatenated date &
time value e.g
200605021541
= 2nd May 2006, 15:41
I want to use that to create two new fields in a query, one holding the
date, one holding the time.
I've got the date, using
APPT_DATE:
DateSerial(Left([APPT_DT_TM],4),Mid([APPT_DT_TM],5,2),Mid([APPT_DT_TM],7,2))
And I've faked a time field with
APPT_TIME: Mid([APPT_DT_TM],9,2) & ":" & Mid([APPT_DT_TM],11,2)
But how can I get the time part to be an actual time value for calculation
purposes?
Regards
Matt