IReport制作报表——日期时间显示格式

转自:https://blog.csdn.net/linglinglu/article/details/9022679?utm_source=blogxgwz2

IReport工具在制作报表的时候,会有日期或者日期时间的显示,我们可以给日期显示组件设置Pattern 属性值为我们想要的日期格式就可以了。

一般我们要显示的大多是:2013-06-04 03:36:08 这种格式的,那么我们就设置 Patten 的属性值为:yyyy-MM-dd hh:mm:ss 即可。

还可以根据需要在已有的格式里选择一个,如下图所示:

原文地址:https://www.cnblogs.com/sharpest/p/6323561.html