It's counter-intuitive but the best time to get a new job is when you are happy at your current job. Most people think "well, things are going great. Why should I look for another job?". It's pretty simple. Ask yourself the question "What offer would make you change jobs?". Most people start searching for jobs when they are unhappy with their current situation. If your job is crappy, then you will take pretty much any offer just to get out. If things are going great at your current job, then the only thing that would make you move is a fantastic offer. Why wait until things go sour then move on to another sub-optimal situation? Why not use the time to find a fantastic offer now?