"dhnriverside" <da*@musoswire.com> wrote in message
news:F3**********************************@microsof t.com...
Got the following 2 lines of code...
DateTime rightnow = DateTime.Now;
string ReportDate = rightnow.ToString("yyyy-mm-dd");
Well, it's giving me a date just now of "2005-39-02" !!!! how!!?
Try constructing a DateTime object with a specific timestamp to
reproduce the problem (hint: check what time your system clock is
reporting).
Post a short, self-contained, compilable piece of code so that we can
reproduce the bug.
- Oliver