Clearly the use of "DAY" does not refer to a 24 hour span of time - from our perspective, nor does it mean that in any of the other instances where "in the day that" is used.
He meant spiritual death, which did in fact occur that very day.
No, the spiritual death didn't occur until after God pronounced judgement and removed them both from the garden. Until the curse, there was no death. Genesis 3:19