ref
any + time
anytime (adv.)
one-word form by 1854; two-word form is in Middle English (early 15c.; any while in the same sense is late 14c.), from any + time (n.).