I am asking the user to input a date........it gets input as a string.
I then convert the string to a date using the function
"Cdate(expression)"
I then try and convert the date to a format of "d-mmm-yyyy" but it does not work.
lets say user inputs the date i want user to input is december 9 2011 and so they input "9/12/2011"
i use cdate to convert to date
i then use
so the date now should show up as 9-Dec-2011
but it doesnt it shows up as "12/9/11"
any thoughts?
i am attaching an example file
what i found out ........is that if i declare the variable as a date.........it does not work...........if i dont declare the variable then it works.............any thoughts.
Bookmarks