Fetching details from the dictionary...

top of ...; head of ...
the moment that ...
「頭」 has other readings with different meanings.
年がしらの人が挨拶をした。
The eldest person gave the greeting.
月がしらに会議が入っている。
There's a meeting scheduled at the beginning of the month.
番頭がしらとして店全体の管理を任されている。
As head clerk, I've been entrusted with managing the entire store.