Hi, Eastboundndown, welcome to SR!
A couple of weeks, maybe. Anyway, it took me about 4 months to sort out my sleeping issues completely.
Working out, cutting computer time before going to bed, and melatonin worked for me. But you'd better see your Doc about this issues. And stay strong - one day you'll get a nice, sound sleep and wake up feeling great, welcoming sunrise and brand new day. Take it from me, I've been there.
Best wishes to you, keep posting.