Parse the date format and use decimals.