Is it illegal

So i just got my court date and time set for custody and child support well is it illegal to not tell your ex when it is or can i or what i just need to know