Answer:
Praise be to Allah, the Lord of the Worlds; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
There is no objection to take a bath after 5.00 pm in the evening or before it. In fact, believing that there is any harm in doing so is a wrong thing and the Muslim should beware of it.
Allah knows best.