how long after a flight can i request miles to be credited?
Depends on the airline. A quick google search will give you an exact answer, but it's usually between 9 and 12 months.
which airline ?
gotta be DL
and AF
Question is who ticketed it? The ticketing airline would earn revenue based, and the other one would be distance based.