当前位置:网站首页>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;
边栏推荐
- Markdown
- How to change the formula picture in the paper directly into the formula in word
- B_ QuRT_ User_ Guide(40)
- 【7.5】15. Sum of three numbers
- What if once again forgets the login password of raspberry pie? And you don't have a monitor yet! Today, I would like to introduce a method
- 城联优品作为新力量初注入,相关上市公司股价应声上涨150%
- B_ QuRT_ User_ Guide(38)
- POJ2392 SpaceElevator [DP]
- 包装行业智能供应链S2B2B商城解决方案:开辟电商消费新生态
- ASP. Net open web page
猜你喜欢

List. How to achieve ascending and descending sort() 2020.8.6

C number of words, plus ¥, longest word, average value

First week of July

Svn relocation

Mobile heterogeneous computing technology - GPU OpenCL programming (basic)

2022第六季完美童模陕西总决赛圆满落幕

Unity3d Learning Notes 6 - GPU instantiation (1)

Spark 离线开发框架设计与实现
![[compilation principle] lexical analysis design and Implementation](/img/8c/a3a50e6b029c49caf0d791f7d4513a.png)
[compilation principle] lexical analysis design and Implementation

Installing gradle
随机推荐
System design overview
Force deduction solution summary 648 word replacement
C # exchange number, judge to pass the exam
Anti climbing means cracking the second
Right click the idea file to create new. There is no solution to create new servlet
C number of words, plus ¥, longest word, average value
USB (XIV) 2022-04-12
B_ QuRT_ User_ Guide(38)
Markdown
Caip2021 preliminary VP
Anxinco esp32-a1s development board is adapted to Baidu dueros routine to realize online voice function
[untitled]
【汇总】看过的一些Panel与视频
SRM supplier cloud collaborative management platform solution for building materials industry to realize business application scalability and configuration
postgis学习
B_ QuRT_ User_ Guide(40)
Windows set redis to start automatically
B_ QuRT_ User_ Guide(39)
Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
SAP memory parameter tuning process