Help Please: How to go back one day?
-
Hello everyone, i m using vb.net 2005 (winforms). when i wnt to go to next day i use datetime.adddays(numberofdays) function. but now i wnt to go back by one day , how to do it? what function is present for this Please tell me. i saw "Subtract function" in help but didnt get it. tell me any another function or if datetime.subtract() function can be used for subtracting one day frm our date then please guide me how to use it. Thanks for any help in advance. --regards Priya
"The Difficult i can do it now... The Impossible will take a little longer."
-
Hello everyone, i m using vb.net 2005 (winforms). when i wnt to go to next day i use datetime.adddays(numberofdays) function. but now i wnt to go back by one day , how to do it? what function is present for this Please tell me. i saw "Subtract function" in help but didnt get it. tell me any another function or if datetime.subtract() function can be used for subtracting one day frm our date then please guide me how to use it. Thanks for any help in advance. --regards Priya
"The Difficult i can do it now... The Impossible will take a little longer."
datetime.adddays(-numberofdays)
When you get mad...THINK twice that the only advice Tamimi - Code
-
datetime.adddays(-numberofdays)
When you get mad...THINK twice that the only advice Tamimi - Code
plz i want convert date to days to Compare whith anther date like date.now - 10/11/2006 = valu as daye plz hel me
Ahmed El-Badry
-
plz i want convert date to days to Compare whith anther date like date.now - 10/11/2006 = valu as daye plz hel me
Ahmed El-Badry
Colin already told you how to do it a few posts up.
Dave Kreskowiak Microsoft MVP - Visual Basic