Optiver Interview Question

One interview question was a date difference calculator.