I have for example following date time
DateTime dt = new DateTime(2013,18,04,22,23,0);
this date should be represented like
18-04-2013 22:23 Environment.NewLine
Worth to mention is there are spaces between number 3 (of 22:23) and Environment.NewLine
.
So, field length is 20characters from beginning to E letter (of Environment.NewLine
).
How can I represent date in this format with spaces?