Hello friends,
I m facing a new problem in Crystal Report .. i have date like '20-07-2012' this date is coming from Data Base but its not store in String Format . so i want to convert into string format like twenty jul two thousand twelve. hope you understand what i want.. please give me formula.. how to do it .. its urgent friends...
Thanks in Advance
Loading

Sudhakar ChaudharyPosted Aug 3, 2012, 8:48 AM
towords(tonumber(day({?@DATE})),0)+" "+ MonthName(Month(DateAdd ("m", 0, {?@DATE})))+" "
+towords(tonumber(Year({?@DATE})),0)
Jignesh TrivediPosted Aug 3, 2012, 6:47 AM
yes.
for get month name in Crystal report please refer..
http://crystaltricks.com/wordpress/?p=159
http://www.crystalreportsbook.com/Chapter06_XI.asp
hope this will help.
VulpesPosted Aug 3, 2012, 6:23 AM
Jignesh TrivediPosted Aug 3, 2012, 5:33 AM
Hi Naeem Khan,
if your date 20-07-2012 then we can split by '-', so we can achive 20, 07, 2012...
crystal report has "toword" and "monthname" function with the help of them you may find your result
like
toword(dd) + " " + monthname(MM) + " " + toword(yyyy)
hope this will help you.
Naeem KhanPosted Aug 3, 2012, 4:56 AM
its too long code .. do you have some small code which would be easy to apply..
Reply me ASAP...
VulpesPosted Jul 20, 2012, 5:43 AM
http://www.c-sharpcorner.com/UploadFile/b942f9/converting-dates-to-words-in-C-Sharp/