keepingbusy
Programmer
Hi
I have a field in a table called COLUMN4 that is a character type, length 20 which contains a date, time and place of origin which has been imported from a csv file. An exmaple of what the data looks like is:
08/02/2008 22:09:34 Europe/London
I am trying to extract part of that field (just the date or first 10 characters) and convert it into a date and replace another field which is a date field (INDATE) within the same table.
The following has been tried:
Code:
DO WHILE NOT EOF()
STORE CTOD(" / / ") TO mdate
STORE LEFT(COLUMN4,10) TO mdate
REPLACE INDATE WITH mdate
Code:
DO WHILE NOT EOF()
STORE CTOD(" / / ") TO mdate
REPLACE INDATE WITH mdate
I would be grateful for any suggestions or guidance please.
Many thanks
Lee