The scenario is:
Dim Borrow_date
Borrow_date = Request.Form("txt_BorrowDate"
// Borrow_date actually contains a date(in string form, though i have declared it as dim only)
// I now need to add 15 days to this, using the DateAdd function in VBSript.
I say, DateAdd("dd",15,Borrow_date)
It gives me an error saying expected string.
Is there a way I can accomplish this, or can I use Request.Form("txt_BorrowDate" directly inplace of Borrow_date in the DateAdd function?
Thanks,
Radhika.
Dim Borrow_date
Borrow_date = Request.Form("txt_BorrowDate"
// Borrow_date actually contains a date(in string form, though i have declared it as dim only)
// I now need to add 15 days to this, using the DateAdd function in VBSript.
I say, DateAdd("dd",15,Borrow_date)
It gives me an error saying expected string.
Is there a way I can accomplish this, or can I use Request.Form("txt_BorrowDate" directly inplace of Borrow_date in the DateAdd function?
Thanks,
Radhika.