当前位置:网站首页>postgres timestamp转人眼时间字符串或者毫秒值
postgres timestamp转人眼时间字符串或者毫秒值
2022-07-07 21:52:00 【jfqqqqq】
转字符串
方式1
SELECT to_char(create_time, 'YYYY-MM-DD hh24:mi:ss') from io_batch_time where status = 6 and gb_code = '156110000' order by create_time;
转毫秒
方式1
SELECT batch_name,floor(extract(epoch from create_time)*1000),create_time from io_batch_time where status = 6 and gb_code = '156110000' order by create_time;
边栏推荐
- 进度播报|广州地铁七号线全线29台盾构机全部完成始发
- Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
- New potential energy of industrial integration, Xiamen station of city chain technology digital summit successfully held
- Happy gathering time
- MySQL Architecture
- One week learning summary of STL Standard Template Library
- Anxin can internally test offline voice module vb-01 to communicate with esp-c3-12f
- SAP HR 家庭成员信息
- POJ2392 SpaceElevator [DP]
- Anxin vb01 offline voice module access intelligent curtain guidance
猜你喜欢

2021icpc Shanghai h.life is a game Kruskal reconstruction tree

MySQL架构

Extended tree (I) - graphic analysis and C language implementation

First week of July

高效的S2B2C电商系统,是这样帮助电子材料企业提升应变能力的

Anxinco EC series modules are connected to the multi protocol access products of onenet Internet of things open platform

Mobile heterogeneous computing technology - GPU OpenCL programming (basic)

Solution of intelligent supply chain collaboration platform in electronic equipment industry: solve inefficiency and enable digital upgrading of industry

Unity3d Learning Notes 6 - GPU instantiation (1)

ASP. Net core middleware request processing pipeline
随机推荐
C inheritance and interface design polymorphism
The efficient s2b2c e-commerce system helps electronic material enterprises improve their adaptability in this way
SAP HR 社会工作经历 0023
Solution of intelligent supply chain collaboration platform in electronic equipment industry: solve inefficiency and enable digital upgrading of industry
Deep understanding of MySQL lock and transaction isolation level
Summary of common methods of object class (September 14, 2020)
Dependency injection
Digital procurement management system for fresh food industry: help fresh food enterprises solve procurement problems and implement online procurement throughout the process
【7.4】25. Turn over the linked list in groups of K
B_ QuRT_ User_ Guide(38)
Class C design questions
How to change the formula picture in the paper directly into the formula in word
Stringutils tool class
UE4_ Ue5 combined with Logitech handle (F710) use record
PCB wiring rules of PCI Express interface
【实验分享】通过Console口登录到Cisco设备
Happy gathering time
SLAM面试总结
Mobile heterogeneous computing technology - GPU OpenCL programming (basic)
0-1 knapsack problem