如何使用通过下拉列表选择的文本框中的日期减去今天的日期? [英] How to Subtract today's date with a date from text box which is selected through drop down list's?

查看:97
本文介绍了如何使用通过下拉列表选择的文本框中的日期减去今天的日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在3个下拉列表的年,月和日的文本框中都有一个日期。现在我应该如何计算所选日期(文本框中的日期)和今天的日期(系统日期)的年龄,并将其显示在另一个文本中框...

解决方案

[ ^ ]

http://www.codedigest.com/Articles/ASPNET/264_Working_with_DateTime_Object_and_Formatting_DateTime_Object_in_ASPNet.aspx [ ^ ]



http://forums.asp.net/post/2495940.aspx [ ^ ]





绝对会帮助你: - )

I have a date in text box from 3 drop down list's Year,month and day respectively.Now how should i calculate age from selected date(date in text box) and today's date(system date) and display it in another text box...

解决方案

How to calculate difference between two dates in textboxes in C#.[^]
http://www.codedigest.com/Articles/ASPNET/264_Working_with_DateTime_Object_and_Formatting_DateTime_Object_in_ASPNet.aspx[^]

http://forums.asp.net/post/2495940.aspx[^]


definitely It will helps You:-)


这篇关于如何使用通过下拉列表选择的文本框中的日期减去今天的日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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