Check websocket message recieved time with a value in recieved message


I have a field ‘SendDate’ with time by which it is send from server in each of my websocket messages. How can I add a check which checks the message is recieved within 100 ms from when compared to SendDate ?