Optiver interview question

Date and string manipulation and calculations