tweak format_date function to account for excel-style 'serial' dates