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


VulpesRank #55 · 29.2K reputationPosted Jul 20, 2012, 1:43 AM EDT
http://www.c-sharpcorner.com/UploadFile/b942f9/converting-dates-to-words-in-C-Sharp/
Naeem KhanRank #2,072 · 698 reputationPosted Aug 3, 2012, 12:56 AM EDT
its too long code .. do you have some small code which would be easy to apply..
Reply me ASAP...
Jignesh TrivediRank #16 · 50.3K reputationPosted Aug 3, 2012, 1:33 AM EDT
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.
VulpesRank #55 · 29.2K reputationPosted Aug 3, 2012, 2:23 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Aug 3, 2012, 2:47 AM EDT
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.
Sudhakar ChaudharyRank #1,379 · 1.2K reputationPosted Aug 3, 2012, 4:48 AM EDT
towords(tonumber(day({?@DATE})),0)+" "+ MonthName(Month(DateAdd ("m", 0, {?@DATE})))+" "
+towords(tonumber(Year({?@DATE})),0)