Google interview question

Program to find the difference between 2 timestamps