Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11577

Formatting a date

$
0
0

I am trying to display the month name but currently is shows like this"December" I would like for it to show like "Dec-2012 or Dec-12" the code below is what i am using to show my full month name. This is being done in Crystal Reports2011 

cstr(monthname(month("mmm")({@month})))+" - " +cstr(year({@month}),0,"")

 

Thanks in advace again!


Viewing all articles
Browse latest Browse all 11577

Trending Articles