See here for how the "d" Custom Format Specifier is supposed to work:
Consider this code:
Console.WriteLine(DateTime.Now.ToString("d"));
// Should result in 8
// Result I'm seeing is 08/07/2014
Why is the "d" not working?
See here for how the "d" Custom Format Specifier is supposed to work:
Consider this code:
Console.WriteLine(DateTime.Now.ToString("d"));
// Should result in 8
// Result I'm seeing is 08/07/2014
Why is the "d" not working?
Read the documentation, notice the first sentence:
If the "d" format specifier is used without other custom format specifiers, it is interpreted as the "d" standard date and time format specifier. For more information about using a single format specifier, see Using Single Custom Format Specifiers later in this topic.