If you have a 1 year visa and just need 90 day stamp, it would be easy.
The so called overnight rule, that as
@T**
said is not an official rule at all, affect only people who exit and re-enter by land using Malaysian bordes and asking for 30 day visa exempt stamp.