当前位置:网站首页>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 ·· …
边栏推荐
- Four operations and derivative operations of MATLAB polynomials
- Flutter2 heavy release supports web and desktop applications
- 什么是数字化存在?数字化转型要先从数字化存在开始
- Flume common commands and basic operations
- Storage Basics
- MySQL installation, Windows version
- Yum only downloads the RPM package of the software to the specified directory without installing it
- Resnet18 actual battle Baoke dream spirit
- MySQL trigger
- July Huaqing learning-1
猜你喜欢

How can beginners learn flutter efficiently?

MySQL index (1)

Flutter2 heavy release supports web and desktop applications

Add a new cloud disk to Huawei virtual machine

Pytoch loads the initialization V3 pre training model and reports an error

Pytoch uses torchnet Classerrormeter in meter
Two minutes will take you to quickly master the project structure, resources, dependencies and localization of flutter

Learn the memory management of JVM 02 - memory allocation of JVM

Four operations and derivative operations of MATLAB polynomials

NPM install reports an error
随机推荐
MySQL stored procedure
Understanding the architecture type of mobile CPU
[superhard core] is the core technology of redis
Take you two minutes to quickly master the route and navigation of flutter
C language structure is initialized as a function parameter
Select drop-down box realizes three-level linkage of provinces and cities in China
ZABBIX 5.0 - LNMP environment compilation and installation
Get data from the database when using JMeter for database assertion
JDBC -- use JDBC connection to operate MySQL database
Solve the problem of cache and database double write data consistency
MySQL data table operation DDL & data type
MySQL view
Yum only downloads the RPM package of the software to the specified directory without installing it
Learn JVM garbage collection 05 - root node enumeration, security points, and security zones (hotspot)
Cypher syntax of neo4j graph database
Array cyclic shift problem
Get the variable address of structure member in C language
Take you hand in hand to develop a service monitoring component
MySQL function
ZABBIX agent2 installation