DateTime time = DateTime.Now; string format = "MMM ddd d HH:mm yyyy"; var dt = time.ToString(format);
Here we display time and date using label or Textbox.
No comments:
Post a Comment