M Michael Nemtsev [MVP] Jul 18, 2008 #2 Hello rote, DateTime.Now.ToString("dd-MMMM-yyyy") --- WBR, Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo r> How to format date from e.g 10/2/2008 to 10-Feb-2008? r> r> Thanks r>
Hello rote, DateTime.Now.ToString("dd-MMMM-yyyy") --- WBR, Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo r> How to format date from e.g 10/2/2008 to 10-Feb-2008? r> r> Thanks r>
A Alexey Smirnov Jul 18, 2008 #3 DateTime.Now.ToString("dd-MMM-yyyy") returns 10-Feb-2008 DateTime.Now.ToString("dd-MMMM-yyyy") returns 10-February-2008 http://msdn.microsoft.com/en-us/library/aa326721.aspx
DateTime.Now.ToString("dd-MMM-yyyy") returns 10-Feb-2008 DateTime.Now.ToString("dd-MMMM-yyyy") returns 10-February-2008 http://msdn.microsoft.com/en-us/library/aa326721.aspx