Linux how long a process has been running?

I am a new Linux system user. How do I check how long a process or pid has been running on my Ubuntu Linux server? You need to use the ps command to see information about a selection of the active processes. The ps command provide following two formatting options.