FoxStudent
Technical User
I have a character array in the form DD/MM/YYYY and want to reference the last four characters as an integer. I could not find a 'right' function. So I strated trying to address individual elements, for example, date[6] when printing the result to the screen I got the character numeral. However, it appears to see the character as an integer I have tried using the char() function and this seems not to work in an assignmentent statement as it still sees the new character as an integer and I cannot get it to convert to a character pointer. I need a charcter pointer in order to concatencate the last four letters so as I can convert them all into an integer. I am sure there is an easier way to do this.
P.S. this is a stored date I am aware of the getdate() function for getting the current date in terms of day, month and year.
THANK U
GRAINNE
P.S. this is a stored date I am aware of the getdate() function for getting the current date in terms of day, month and year.
THANK U
GRAINNE