If you SSH into the instance you can run the command uptime -p and it will show you how long the instance has been running.
Alternatively, if you are using gcloud, you could execute this command:
gcloud compute --project <project_id> ssh --zone <zone> <instance-name> -- command 'uptime'