How long does it take for eczema to go away with hydrocortisone 1%?

Depends. Eczema is a disease with varying intensity. The amount of time required depends upon the disease, how potent the steroid is and how religiously you apply it. If it is not improving after a few weeks it is time to try a more potent steroid.