Hi Clyde,
i have removed the "/" in the date variables so they are now ddmmyyyy, which is a string variable which has the type:str8 format: %9s, is there a command which can turn this format into a date format readable for STATA. i tried format name_of_date_variable %td and it returns "string %fmt required for string variables
r(120);"
thanks
i have removed the "/" in the date variables so they are now ddmmyyyy, which is a string variable which has the type:str8 format: %9s, is there a command which can turn this format into a date format readable for STATA. i tried format name_of_date_variable %td and it returns "string %fmt required for string variables
r(120);"
thanks
Comment