Security+ is a very entry-level broad security exam. It covers a whole scope of security, ranging from severs and networks to firewalls and data classification, but it does it from orbit (very shallow depth).
CEH is a somewhat picky, specific test on a variety of network audit and penetration testing tools and techniques, some of which will make absolutely no sense to you if you don't have a broad security background.
Asking how long it takes... depends a lot on your background.
I passed both cold, without studying.

So my answer is zero.
Then again, I had been working in IT for years when I took the Security+ (this was 10 years ago too), and I had been doing penetration testing for several years already when I took the CEH.
Realistically, you could learn most of the Security+ in under a week, but only if you have *some* background in IT and/or networking. You will be answering questions about the OSI model and a bit about port/protocol security and some about routing and a bit about firewalls (the difference between deep-packet and traditional stateful, etc). If you don't know the difference between TCP and UDP and their relative advantages, or the purpose and benefits of Active Directory (as two vague examples of general knowledge), you are probably in over your head considering security training at all at this point.
To be honest, neither exam is valued very highly, although the CEH at least has some merit with the HR types for a small set of jobs (security audit & penetration testing). However, this job description almost never has the word "entry level" at the beginning of it.