Yes you can Michael and it will take care of the language also, all depends onthe operaring system language you are running, so that code in english will be 27-Oct-2006 while in portuguese will be 27-Out-2006.
That's one of the many advantages of .net over VFP.
Now on mine VFP example you are right since CMONTH returns always in english, so if you wanted on a diferente language then you would need to create an array of months like you said before.
>>Michel the same can be acomplish with only 1 line of code
>>
>>lcDate = datevar.ToString("dd-MMM-yyyy")
>>
>>Now if you want to use the date seperator that's defined in regional settings just replace the - with a /
>
>I don't think you can control the casing of the month. It doesn't also take care of the current language being used.
Alexandre Palma
Senior Application Architect