当前位置:网站首页>Postgres timestamp to human eye time string or millisecond value
Postgres timestamp to human eye time string or millisecond value
2022-07-07 23:45:00 【jfqqqqq】
Turn the string
The way 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;
Turn millisecond
The way 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;
边栏推荐
- [untitled]
- Possible SQL for Oracle table lookup information
- Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
- gorm 关联关系小结
- Learn about scratch
- ASP. Net query implementation
- How to change the formula picture in the paper directly into the formula in word
- MySQL架构
- Enumeration, simulation, and sorting
- ping报错:未知的名称或服务
猜你喜欢
Get started with mongodb
Anxinco esp32-a1s development board is adapted to Baidu dueros routine to realize online voice function
激光slam学习(2D/3D、偏实践)
Map operation execution process
Archery installation test
Anxinco EC series modules are connected to the multi protocol access products of onenet Internet of things open platform
AITM3.0005 烟雾毒性测试
SAP HR social work experience 0023
BSS 7230 航空内饰材料阻燃性能测试
Chisel tutorial - 05 Sequential logic in chisel (including explicit multi clock, explicit synchronous reset and explicit asynchronous reset)
随机推荐
2022 certified surveyors are still at a loss when preparing for the exam? Teach you how to take the exam hand in hand?
SAP HR social work experience 0023
SAP HR family member information
Ora-02437 failed to verify the primary key violation
BSS 7230 航空内饰材料阻燃性能测试
平衡二叉树【AVL树】——插入、删除
@Configuration注解的详细介绍
Chisel tutorial - 04 Control flow in chisel
C number of words, plus ¥, longest word, average value
redis缓存工具类,值得拥有~
P2141 [noip2014 popularization group] abacus mental arithmetic test
JNI uses asan to check memory leaks
保证接口数据安全的10种方案
Flash download setup
Learn about scratch
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
Fibonacci number of dynamic programming
C - minute number V3
C method question 1
SAP HR reward and punishment information export