I am using a form to create a date. dd/mm/yy, that date is then submitted to a new page
I am trying to convert the entered date into a number using cdbl, cdbl(datefromform), when I do this I get a type mismatch and yet cdbl(date) and cdbl(now) both work.
Is it because datefromform is a string and not a date.
How do I get round this.
Any help will be much appreciated.
Cheers J
I am trying to convert the entered date into a number using cdbl, cdbl(datefromform), when I do this I get a type mismatch and yet cdbl(date) and cdbl(now) both work.
Is it because datefromform is a string and not a date.
How do I get round this.
Any help will be much appreciated.
Cheers J