November 5th, 2009, 12:11 AM
Hi, I has a question here.
For example, today is 05/11/2009, I have two text box.
Actually it means that whatever what date i choose within the current month, the two textbox will display the last three months date.
For Example, Current Month is November 2009 , Textbox 1 will show 01/08/2009, Textbox 2 will show 31/10/2009.
Another example is Current Month is January 2009, Textbox 1 will show 01/10/2009, Textbox 2 will show 31/12/2008.
May I know how the vb.net code should look like??
Last edited by daniel50096230; November 5th, 2009 at 05:57 AM.
November 5th, 2009, 07:08 PM
Re: DateFormat Issue
You can use DATE ADD, or DATE DIFF, depending on how you want to go about it.
VB does date manipulation automatically
Click Here to Expand Forum to Full Width