expression, adverb
at precisely that time; just then; right at that moment
A somewhat literary or formal expression used to emphasize that something happened exactly at a particular moment, often in narrative or descriptive contexts.
時あたかも春の盛り、桜が満開だった。
It was just then, at the height of spring, and the cherry blossoms were in full bloom.
時あたかも戦乱の世にあって、人々は苦難に耐えていた。
At precisely that time, in an age of war, the people endured great hardship.
あたかも alone means 'as if' or 'just like', and can also mean 'exactly (at that time)' when combined with 時. 時あたかも is a fixed expression emphasizing the timing.
ちょうどその時 is a more common, everyday way to say 'just at that time', while 時あたかも is more literary and emphatic.
A compound of 時 (time) and あたかも (just then/exactly). The reading あたかも is of uncertain origin, possibly from a mimetic or emphatic root. The kanji 恰 is an ateji.