datetimepicker

  • Thread starter Thread starter Toren Valone
  • Start date Start date
T

Toren Valone

In the properties under custom format I have "mm,dd,yy". When the app runs it
displays 15.30.08. Now I get the 30 and the 08, but why is it 15 for the
month?
 
In the properties under custom format I have "mm,dd,yy". When the app runs it
displays  15.30.08. Now I get the 30 and the 08, but why is it 15 for the
month?

at what time you were running this? , I bet it was 3PM :)

mm means minutes, MM means months

take a look in MSDN for custom datetime format string.
DateTime.ToString is a good starting point
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top