المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to format a datetime to display day of week and date?



C# Programming
05-06-2011, 08:11 PM
I'm trying to display a date in a c# ms excel report (via the office object library dll) to display as the following (including the commas):
Wednesday, May 4, 2011

I've tried several attempts but no luck so far. What's the format I should be using to display a c# datetime correctly?

Thanks.