Convert measurement value to UI date and DB date accordingly

BMS-129

Reviewer: Daniel Jao