只要始终是相同的部分的时候,日期仍将很容易可比,我可以修剪它,当我将其转换为屏幕显示字符串。
As long as the time part always remains the same throughout, the dates will still be easily comparable and I can just trim it up when I convert it to string for screen display.
将此实例的值转换为指定的标准日期和时间格式说明符和区域性特定格式信息支持的所有字符串表示形式。
Converts the value of this instance to all the string representations supported by the specified standard date and time format specifier and culture-specific formatting information.
应用推荐