The act of donating money to charity is highly encouraged in Islam and holds great merit. If one feels it is more meaningful to donate money instead of giving or receiving birthday gifts, it can be a commendable choice. It ultimately depends on personal intentions and the impact of both actions on oneself and the community.