当前位置:网站首页>JSTL tag: fmt:formatdate tag format Chinese standard time or timestamp
JSTL tag: fmt:formatdate tag format Chinese standard time or timestamp
2022-06-25 12:47:00 【good_ good_ xiu】
demand
You need to format the time parameter returned by the server , It's usually Sat Jan 29 2022 18:14:44 GMT+0800 ( China standard time ). Formatted as 2022-01-29 18:14:44
<!-- forEach Similar labels for loop , Loop traversal list,list Object alias in is demo -->
<c:forEach items="${page.list}" var="demo">
<tr>
<!-- Alias . Property to call and display the value -->
<td>
${demo.name}
</td>
<td>
<!-- value Value ,var Is the alias used for calling after formatting ,pattern Format for formatting -->
<fmt:formatDate value="${demo.beginDate}" var="beginDate" pattern="yyyy-MM-dd HH:mm:ss">
<!-- call fmt:formatDate Time alias after label processing -->
${beginDate}
</td>
</tr>
</c:forEach>
边栏推荐
- Match regular with fixed format beginning and fixed end
- Qt5 multi thread operation implemented by object base class and use of movetothread method
- Ubuntu uninstalling PHP
- 按权重随机选择[前缀和+二分+随机target]
- 2021-09-28
- Flutter automatically disappears after receiving push
- (2) Pyqt5 tutorial -- > using qtdesigner to separate interface code
- 使用Visio画立方体
- Laravel is not logged in and cannot access the background by entering the URL
- Micro engine generates QR code
猜你喜欢

地理空间搜索 ->R树索引

Zhangxiaobai's way of penetration (VIII) - detailed operation steps of SQL injection - Boolean blind injection of blind injection

Zhangxiaobai's road of penetration (IV) -- detailed explanation of XSS cross site script vulnerabilities

Baidu search stability analysis story

Parse JSON format data and save it to entity class

Geospatial search - > R tree index

Guess Tongyuan B

Render values to corresponding text

Talk about 11 key techniques of high availability

画图常用配色
随机推荐
3+1保障:高可用系统稳定性是如何炼成的?
高性能负载均衡架构如何实现?
Laravel task scheduling
按权重随机选择[前缀和+二分+随机target]
Guess Tongyuan B
Wait for the end of the network request in the uniapp Onshow method before executing the subsequent code content
Spicy food advertising e-commerce system development function and spicy food advertising e-commerce app system development source code sharing
(4) Pyqt5 tutorial -- > Custom signal and slot (super winding...)
High performance + million level Excel data import and export
Talk about 11 key techniques of high availability
GPS receiver design (1)
(2) Pyqt5 tutorial -- > using qtdesigner to separate interface code
Development with courtesy -- share the source code of the secondary development of the app system of the imitation shopping mall
visual studio2019链接opencv
Zhangxiaobai's road of penetration (VI) -- the idea and process of SQL injection and the concat series functions and information of SQL_ Schema database explanation
Zhangxiaobai's way of penetration (V) -- detailed explanation of upload vulnerability and parsing vulnerability
更新pip&下载jupyter lab
Go defer little knowledge
Disconnected: No supported authentication methods available (server sent: )
Zhangxiaobai's road to penetration (7) -sql injection detailed operation steps -union joint query injection