Using the date from the server for comparison