当前位置:网站首页>Time conversion error
Time conversion error
2022-07-05 12:36:00 【Hua Li Hu Shao】
I encountered a problem this morning The business is Query the database to get the data then Convert the timestamp in the data Deposit in map Back in
No problem offline, no problem online Incorrect time conversion ··· such as Should be 00:10 Just turn it around 14:10…
Print
dateTime Is the timestamp in the database
Log.info(dateTime +“ = ”+ new Date(dateTime)+ new SimpleDateformatter(“HH:mm”))
What's printed out is
1631465400000 = Sun Sep 12 16:50:00 UTC 2021 = 16:50
The reason is that the time of the server itself is abnormal ·· …
边栏推荐
- Just a coincidence? The mysterious technology of apple ios16 is actually the same as that of Chinese enterprises five years ago!
- Knowledge representation (KR)
- Interviewer: is acid fully guaranteed for redis transactions?
- Redis's memory elimination mechanism, read this article is enough.
- MySQL multi table operation
- Understand kotlin from the perspective of an architect
- Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
- Learn JVM garbage collection 02 - a brief introduction to the reference and recycling method area
- C alarm design
- Migrate data from Mysql to neo4j database
猜你喜欢

UNIX socket advanced learning diary - advanced i/o functions

Pytoch uses torchnet Classerrormeter in meter

Reinforcement learning - learning notes 3 | strategic learning

Summary of C language learning problems (VS)
Automated test lifecycle

Master-slave mode of redis cluster

JDBC -- extract JDBC tool classes

Resnet18 actual battle Baoke dream spirit

MySQL storage engine

Get all stock data of big a
随机推荐
Common commands and basic operations of Apache Phoenix
GNN(pytorch-geometric)
[superhard core] is the core technology of redis
Automated test lifecycle
信息服务器怎么恢复,服务器数据恢复怎么弄[通俗易懂]
Embedded software architecture design - message interaction
Experimental design - using stack to realize calculator
Redis highly available slice cluster
Ecplise development environment configuration and simple web project construction
GPS數據格式轉換[通俗易懂]
Detailed structure and code of inception V3
JDBC -- use JDBC connection to operate MySQL database
Want to ask, how to choose a securities firm? Is it safe to open an account online?
Implementing Yang Hui triangle with cyclic queue C language
GPON technical standard analysis I
Conversion du format de données GPS [facile à comprendre]
Distributed solution - distributed session consistency problem
How to recover the information server and how to recover the server data [easy to understand]
Semantic segmentation experiment: UNET network /msrc2 dataset
Video networkstate property