Datetime revisited

  • Thread starter Thread starter DaveP
  • Start date Start date
DaveP said:
DateTime.ToString("yyyymmdd")

DateTime.ToString("yyyyMMdd");

the "MM" prints the month-number, an "mm" would return "minutes" ...

Hans Kesting
 
Hans said:
DateTime.ToString("yyyyMMdd");

the "MM" prints the month-number, an "mm" would return "minutes" ...

That may in fact be the most sensible way to format a DateTime object,
but it's not what the OP asked for.
 

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

Similar Threads

Date formatting on DateTime? 4
datetime 4
DLL path 3
DateTime 3
character conversion 2
DLL and Application Config 1
Formatting datetime 3
Sql Connection 9

Back
Top