Optiver interview question

Calculate difference between 2 dates