查找月份 [英] find month days

查看:65
本文介绍了查找月份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找出本月有多少天以及今天的日期

I need to find how many days have in this month which we can find with today's date

select to_number(to_date('01.02.2011')-to_date('01.01.2011')) from dual; 

不是此查询 还有其他疑问吗?

not this query Have any other queries?

推荐答案

select extract(day from last_day(sysdate)) from dual

?

这篇关于查找月份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆