SyntaxFix
Write A Post
Hire A Developer
Questions
string date = DateTime.Now.ToString(); date = date.Replace("/", ""); date = date.Replace(":", ""); date = date.Replace(" ", ""); date = date.Replace("AM", ""); date = date.Replace("PM", ""); return date;