Apr 12, 2010 #1 bslaast MIS Oct 22, 2009 46 US How can I display the current date formatted dd/mm/yy in a text box? I currently have: textbox.text = now() but that displays a date time format of dd/mm/yyyy hh:mm:ss
How can I display the current date formatted dd/mm/yy in a text box? I currently have: textbox.text = now() but that displays a date time format of dd/mm/yyyy hh:mm:ss
Apr 12, 2010 #2 RiverGuy Programmer Jul 18, 2002 5,011 US TextBox.Text = DateTime.Now.ToString("dd/MM/yy") Upvote 0 Downvote
Apr 12, 2010 Thread starter #3 bslaast MIS Oct 22, 2009 46 US that is giving me a time: 57/12/10 Upvote 0 Downvote
Apr 12, 2010 #4 RiverGuy Programmer Jul 18, 2002 5,011 US You need to CAPITALIZE MM like I showed you. Upvote 0 Downvote