Hi,
I have this textbox that has been inputted by date in the format of MMM-yy using a datetimepicker.
TEXTBOX Jan-11
Now I need to get the exact date on the textbox to be inserted in a string.
string1 = Cdate(txtbox1.text.trim)
but in this code, the inputted text on the textbox can only be converted into MM-dd format
string = Cdate(txtbox1.text.trim) = 01-11-2012
meaning the -11 in the Jan-11 is converted as day,
Now I want to get this as the year.
Can someone help me with this?
Thanks,