Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| using System; | |
| public class Example | |
| { | |
| public static void Main() | |
| { | |
| // <Snippet9> | |
| string customFormat = "MMMM dd, yyyy (dddd)"; | |
| DateTime date1 = new DateTime(2009, 8, 28); | |
| Console.WriteLine(date1.ToString(customFormat)); | |
| // The example displays the following output if run on a system | |
| // whose language is English: | |
| // August 28, 2009 (Friday) | |
| // </Snippet9> | |
| } | |
| } |