当前位置:网站首页>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;
边栏推荐
- SAP 内存参数调优过程
- 【7.5】15. 三数之和
- Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
- B_ QuRT_ User_ Guide(38)
- 2022 Season 6 perfect children's model Shaanxi finals came to a successful conclusion
- ASP. Net query implementation
- B_ QuRT_ User_ Guide(36)
- redis缓存工具类,值得拥有~
- S2b2b mall solution of intelligent supply chain in packaging industry: opening up a new ecosystem of e-commerce consumption
- Mobile heterogeneous computing technology - GPU OpenCL programming (basic)
猜你喜欢

产业共融新势能,城链科技数字峰会厦门站成功举办

0-1背包问题

Installing gradle

Map operation execution process
![[stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud](/img/78/3cc67a28872ff4d465484cbaee2f6e.jpg)
[stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud

C method question 1

UE4_ Ue5 panoramic camera

包装行业智能供应链S2B2B商城解决方案:开辟电商消费新生态

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

B_QuRT_User_Guide(37)
随机推荐
Access database query all tables SQL
Slam interview summary
B_ QuRT_ User_ Guide(36)
C cat and dog
Take you hand in hand to build Eureka client with idea
SRM supplier cloud collaborative management platform solution for building materials industry to realize business application scalability and configuration
Markdown
Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer
Flash encryption process and implementation of esp32
Have all the fresh students of 2022 found jobs? Is it OK to be we media?
平衡二叉树【AVL树】——插入、删除
USB (XIV) 2022-04-12
2022 certified surveyors are still at a loss when preparing for the exam? Teach you how to take the exam hand in hand?
Display the server hard disk image to the browser through Servlet
Understand TCP's three handshakes and four waves with love
B_ QuRT_ User_ Guide(40)
2022 Season 6 perfect children's model Shaanxi finals came to a successful conclusion
V-for traversal object
Possible SQL for Oracle table lookup information
B_ QuRT_ User_ Guide(38)