两个日期之间的月份 [英] months between two dates

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

问题描述




我想计算两个日期之间的月份。实际上我使用的是Asp.net2.0。可以用Sql或Asp计算,净..我想列出两个日期之间的月份。帮助我...

解决方案

你的日期是什么格式?


日期的格式为(MM / DD / YYYY)。我想列出月份..


一种方法是计算数字的差异,然后将月份名称列入一个arraylist。 HTH。

hi,

I want to calculate tne months between two dates.Actually i am using Asp.net2.0.Is it possible to calculate using Sql or Asp,net..I want to list the months betweeen two dates.Help me...

解决方案

What format are your dates in?


Date is in the format of (MM/DD/YYYY).i want to list the months..


One way would be to calculate the difference in numbers and then have the month names in an arraylist. HTH.


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

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