当前位置:网站首页>Oracle calculates the difference between two dates in seconds, minutes, hours and days
Oracle calculates the difference between two dates in seconds, minutes, hours and days
2022-04-23 13:40:00 【Wangcai 2】
-- Calculate the number of seconds between the two time differences
select (sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss'))*24*60*60 from dual
-- Calculate the difference between the two time differences
select (sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss'))*24*60 from dual
-- When calculating the difference between two time differences
select (sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss'))*24 from dual
-- Calculate how many days there is between the two time differences
select sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss') from dual
版权声明
本文为[Wangcai 2]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230604300916.html
边栏推荐
- [point cloud series] neural opportunity point cloud (NOPC)
- 100000 college students have become ape powder. What are you waiting for?
- Tangent space
- Modification of table fields by Oracle
- Error 403 in most cases, you or one of your dependencies are requesting
- What does the SQL name mean
- [point cloud series] summary of papers related to implicit expression of point cloud
- 交叉碳市场和 Web3 以实现再生变革
- The difference between string and character array in C language
- [point cloud series] unsupervised multi task feature learning on point clouds
猜你喜欢

Summary of request and response and their ServletContext

十万大学生都已成为猿粉,你还在等什么?

Interface idempotency problem

“湘见”技术沙龙 | 程序员&CSDN的进阶之路

交叉碳市场和 Web3 以实现再生变革

超40W奖金池等你来战!第二届“长沙银行杯”腾讯云启创新大赛火热来袭!
![[point cloud series] Introduction to scene recognition](/img/1f/c64712b03ae5b235b5dd3347c3e86a.png)
[point cloud series] Introduction to scene recognition

@优秀的你!CSDN高校俱乐部主席招募!

Double pointer instrument panel reading (I)

你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!
随机推荐
Why do you need to learn container technology to engage in cloud native development
MySQL5. 5 installation tutorial
[dynamic programming] 221 Largest Square
Riscv MMU overview
Unified task distribution scheduling execution framework
NPM err code 500 solution
The interviewer dug a hole for me: how many concurrent TCP connections can a single server have?
SHA512 / 384 principle and C language implementation (with source code)
Oracle renames objects
playwright控制本地谷歌浏览打开,并下载文件
Uninstall MySQL database
@优秀的你!CSDN高校俱乐部主席招募!
[andorid] realize SPI communication between kernel and app through JNI
According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
SAP UI5 应用开发教程之七十二 - SAP UI5 页面路由的动画效果设置试读版
Software test system integration project management engineer full truth simulation question (including answer and analysis)
torch. Where can transfer gradient
Double pointer instrument panel reading (I)
Using open to open a file in JNI returns a - 1 problem
Migrating your native/mobile application to Unified Plan/WebRTC 1.0 API