{ /**************************************************************** Return the string representation of the given DateTime in the format: Monday, July 30, 2013 14:18:00 (AM/PM) . *****************************************************************/ public static string GetFullDisplayDateTime(DateTime datetime) { return datetime.ToString("dddd","MMMM" "dd", "yyyy", "zzz" ); } } }
var ci = new CultureInfo("en-US"); var dateTimeString = now.ToString("F", ci);
var dateTimeString = now.ToString("dddd, MMMM dd yyyy HH:mm:ss tt", ci);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)