|
-
May 15th, 2010, 06:48 AM
#1
Thread Starter
Lively Member
how to calculate date in vb.net
hi i am developing a banking software in vb.net...
i have a two maskedtextbox, one textbox named as masktxtdepostdate and , masktxtmaturitydate, txtnoofmonth.
i changed maskedtextbox property as date, in format "YYYY-MM-DD";
now i need to calculate masktxtmaturitydate after entering the values in, masktxtdepostdate and txtnoofmonth.
calculation formula is
masktxtmaturitydate = masktxtdepostdate + txtnoofmonth
for example
masktxtdepostdate.text="2009-05-26" and txtnoofmonth.text= 13
after enering no of months in txtnoofmonth.text i need to calculate maturitydate as
masktxtmaturitydate.text="2010-06-26"
how can i code for this........
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|