You can go to Malaysia all year long because the rainy season is not particularly marked. However, there is a more pronounced monsoon period in the east of the country between November and January. And, if you can, you should avoid July and August when there are lots of tourists.