DataGrid中显示12小时和24小时的时间格式

如果DataGrid中只显示时间部分.
12小时的时间格式为
{0:hh}:{0:mm}
24小时的时间格式为
{0:HH}:{0:mm}
原文地址:https://www.cnblogs.com/lingxzg/p/492806.html