当前位置:网站首页>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 ·· …
边栏推荐
- UNIX socket advanced learning diary - advanced i/o functions
- PXE startup configuration and principle
- Detailed steps for upgrading window mysql5.5 to 5.7.36
- Learn JVM garbage collection 02 - a brief introduction to the reference and recycling method area
- Database connection pool & jdbctemplate
- GNN(pytorch-geometric)
- ZABBIX agent2 monitors mongodb templates and configuration operations
- 嵌入式软件架构设计-消息交互
- MySQL basic operation -dql
- Want to ask, how to choose a securities firm? Is it safe to open an account online?
猜你喜欢

Matlab struct function (structure array)

Embedded software architecture design - message interaction

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

Anaconda creates a virtual environment and installs pytorch

Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)
Take you two minutes to quickly master the route and navigation of flutter

Get all stock data of big a

The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation

Four operations and derivative operations of MATLAB polynomials

Average lookup length when hash table lookup fails
随机推荐
Xi IO flow
Acid transaction theory
嵌入式软件架构设计-消息交互
Kotlin函数
Matlab struct function (structure array)
Detailed steps for upgrading window mysql5.5 to 5.7.36
MySQL constraints
GPON technical standard analysis I
II. Data type
图像超分实验:SRCNN/FSRCNN
Learn the garbage collector of JVM -- a brief introduction to Shenandoah collector
PXE启动配置及原理
Keras implements verification code identification
POJ-2499 Binary Tree
Distributed solution - distributed session consistency problem
Master-slave mode of redis cluster
Swift - add navigation bar
Summary of C language learning problems (VS)
信息服务器怎么恢复,服务器数据恢复怎么弄[通俗易懂]
GPS數據格式轉換[通俗易懂]