方法一 设置DisplayFormatFormatString:gFormatType:DateTime 方法二 转载于:https://www.cnblogs.com/blfbuaa/p/7161014.html