J.P. Morgan Interview Question

comparison between dates and date functions.