如果DataGrid中只显示时间部分.12小时的时间格式为{0:hh}:{0:mm}24小时的时间格式为{0:HH}:{0:mm} 转载于:https://www.cnblogs.com/lingxzg/archive/2006/09/02/492806.html