My "Check Engine" light is on on 2007 Volvo S40

I brought this car from dealer on 6/17/2011. I have 781** miles on it. My check engine light came on 15/17/2011. There was a message to check the gas cap (which I did) and the message disappeared but the light has remained on. Did someone know how long will this "Check Engine" light on?

by in Columbia, SC on July 17, 2011
Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 1 comment
ANSWER by , July 17, 2011
Really need to have the code pulled, otherwise your are guessing. And I would take it back to the dealer who sold it to you, they just erased the code to sell the car, most likely it was already there. Here are some shops: https://repairpal.com/directory?address=29205&car_brand_names=Volvo
COMMENT by , July 17, 2011
Thank you so much!