当前位置:网站首页>Time conversion'2015-04-20t11:12:00.000+0000 '
Time conversion'2015-04-20t11:12:00.000+0000 '
2022-06-13 06:04:00 【lsg_ lsg_ lsg】
public String changeTimeShow(String timeStr){
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
Date result;
try {
result = formatter.parse(timeStr);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
return sdf.format(result);
} catch (ParseException e) {
e.printStackTrace();
}
return "";
}
边栏推荐
- Tongweb card, tongweb card, tongweb card
- 2021.9.29 learning log MIME type
- Leetcode- keyboard line - simple
- Leetcode- first unique character in string - simple
- Leetcode- number of maximum consecutive ones - simple
- 3. Postman easy to use
- arrayList && linkedList
- Shardingsphere JDBC < bind table > avoid join Cartesian product
- Leetcode- number of words in string - simple
- Leetcode- third largest number - simple
猜你喜欢

AUTOSAR actual combat tutorial pdf version

The Boys x PUBGMOBILE 联动火热来袭!来看最新游戏海报

ArrayList loop removes the pit encountered

中断处理过程

Four shardingsphere JDBC sharding strategies

【DP之01背包】

How slow is the application system on tongweb? How dead is it?

What happens when the MySQL union index ABC encounters a "comparison operator"?

Service architecture diagram of Nacos series

Pod libwebp error reporting solution
随机推荐
Leetcode- keyboard line - simple
Security baseline check script - the road to dream
Misunderstanding of tongweb due to ease of use
Tongweb card, tongweb card, tongweb card
How to view tongweb logs correctly?
2021.9.29学习日志-Restful架构
Building a stand-alone version of Nacos series
Integration of sentinel series Nacos to realize rule synchronization and persistence
Tongweb customs clearance guidelines
MySQL stored procedure
2021.9.30学习日志-postman
Interrupt processing
Complete USB debugging assistant
Swift--function
How MySQL optimizes the use of joint index ABC
MySQL performs an inner join on query. The query result is incorrect because the associated fields have different field types.
= = relation between int and integer
Etcd fast cluster building
Vagrant virtual machine installation, disk expansion and LAN access tutorial
零拷贝技术