while there's still timeUsed to urge doing something before the current opportunity or situation changes. With に, 今のうちに means “while there's still time to.”
JA: 忘れないうちに、今のうちにメモしておこう。
EN: Let's write it down now while there's still time, before we forget.