Date.ToString formatting for a culture

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Im sure im doing something silly here but I can't see what. Im trying to
write the name of a day using a specific culture, in this case French. If the
day is monday I want to write 'Lundi':

System.DateTime.Today.ToString("dddd",new CultureInfo("fr"))

It throws a 'NotSupportedException'

Can someone correct me and point me in the right direction

Thanks
Brian
 
Back
Top