The day before the exam, she was still reviewing until late at night.
Tips
usage
头天 primarily means 'the day before' or 'the previous day' in context. It can also mean 'the first day.' It is more common in spoken northern Chinese; 前一天 is more universally understood.