Convert string to datetime. Delete(t, length(t)/2 ,2);. date to string access.