当前位置:网站首页>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
边栏推荐
- Esp32 vhci architecture sets scan mode for traditional Bluetooth, so that the device can be searched
- Resolution: argument 'radius' is required to be an integer
- Plato farm, a top-level metauniverse game, has made frequent positive moves recently
- Vscode tips
- [Journal Conference Series] IEEE series template download guide
- According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
- Logstash数据处理服务的输入插件Input常见类型以及基本使用
- Stack protector under armcc / GCC
- 榜样专访 | 孙光浩:高校俱乐部伴我成长并创业
- Part 3: docker installing MySQL container (custom port)
猜你喜欢

Android clear app cache

【重心坐标插值、透视矫正插值】原理以及用法见解

The difference between string and character array in C language

校园外卖系统 - 「农职邦」微信原生云开发小程序
![[point cloud series] so net: self organizing network for point cloud analysis](/img/3c/6136b7aa322c42089f40ce13a2d747.png)
[point cloud series] so net: self organizing network for point cloud analysis

Example interview | sun Guanghao: College Club grows and starts a business with me
![[barycentric coordinate interpolation, perspective correction interpolation] principle and usage opinions](/img/db/2e7d7f519f97f0c4179a29af8942a6.png)
[barycentric coordinate interpolation, perspective correction interpolation] principle and usage opinions

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

Vscode tips

Riscv MMU overview
随机推荐
@Excellent you! CSDN College Club President Recruitment!
Solve the problem that Oracle needs to set IP every time in the virtual machine
[tensorflow] sharing mechanism
SAP ui5 application development tutorial 72 - trial version of animation effect setting of SAP ui5 page routing
联想拯救者Y9000X 2020
[point cloud series] multi view neural human rendering (NHR)
Migrating your native/mobile application to Unified Plan/WebRTC 1.0 API
Short name of common UI control
AI21 Labs | Standing on the Shoulders of Giant Frozen Language Models(站在巨大的冷冻语言模型的肩膀上)
Database transactions
榜样专访 | 孙光浩:高校俱乐部伴我成长并创业
Machine learning -- PCA and LDA
UEFI learning 01-arm aarch64 compilation, armplatformpripeicore (SEC)
You and the 42W bonus pool are one short of the "Changsha bank Cup" Tencent yunqi innovation competition!
Set Jianyun x Feishu Shennuo to help the enterprise operation Department realize office automation
[andorid] realize SPI communication between kernel and app through JNI
[indicators] precision, recall
Software test system integration project management engineer full truth simulation question (including answer and analysis)
面试官给我挖坑:URI中的 “//” 有什么用?
Loading and using image classification dataset fashion MNIST in pytorch