So if you were instructed to take it at night you can take it before bed or at any other time at night which is convenient for you.
The main thing is to take it at about the same time every day, so if the easiest time for you to remember is not before bed but for instance when walking the dog, that would be fine as well.