Should I take magnesium at night?

Should I take magnesium at night?