Formatting a null date return empty string