当前位置:网站首页>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>
边栏推荐
- Penetration tool environment - installing sqli labs in centos7 environment
- 2021-09-02
- Polling and long polling
- Optimal solution for cold start
- JS enter three integers a, B and C, and sort them from large to small (two methods)
- 初识CANOpen
- GPS receiver design (1)
- list.replace, str.append
- Foreach method of array in JS
- Concise H5 error page
猜你喜欢

High performance + million level Excel data import and export

GNSS receiver technology and application review

百度搜索稳定性问题分析的故事

PPT绘论文图之导出分辨率

Differences between JS and JQ operation objects

Connect with the flight book and obtain the user information according to the userid

初识CANOpen

Go novice exploration road 2

Swagger document generated by node project API in vscode

架构师需要具备的能力
随机推荐
First acquaintance with CANopen
3+1保障:高可用系统稳定性是如何炼成的?
Mind mapping video
Singleton mode in PHP to reduce memory consumption
How to implement a high-performance load balancing architecture?
Render values to corresponding text
Online blind box system development function introduction and some source code sharing
聊聊高可用的 11 个关键技巧
JS array de duplication
Zhangxiaobai's way of penetration (V) -- detailed explanation of upload vulnerability and parsing vulnerability
Shell learning notes (latest update: 2022-02-18)
Penetration tool environment -- use of cknife Chinese kitchen knife
visual studio2019链接opencv
Digital currency exchange -- digital currency exchange system development source code sharing
torch.tensor拼接与list(tensors)
JS uses the for loop in the function to insert and delete the array at the specified position
架构师必备的七种能力
The server reported an error 503 service unavailable:the system returned: (71) protocol error
Lighten the source code -- lighten the app system development function introduction to the beautiful world lighten the app system development source code in China
Why are databases cloud native?