Show the difference from a date

Based on <http://stackoverflow.com/a/9658178/96588>.
Find parent/child PIDs
Information about the current shell
Get the pseudoterminal for a process' stdin