If you feel the need to flush, it's two weeks before harvest.
Every study, however, shows that flushing is unnecessary. It doesn't do anything good, and if you start at the wrong time, you'll starve her when she's trying to build bigger buds. If you feel the need to flush, I would say do it on the last week. This way if you estimate wrong, then you can let her go an extra week without any harm done.