Question: how can you see when someone was on instagram?
Answer: You'll see a green dot next to their username and photo in your direct inbox and other places on Instagram.
In your direct inbox, you'll see their most recent activity status (example: Active 25m ago, Active yesterday, Seen, Typing...).