Helpers, format date and percentage