Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DateTime.ToString

0 views
Skip to first unread message

Makarand

unread,
Apr 18, 2002, 11:33:54 PM4/18/02
to
Does DateTime.ToString() method converts the Date in to
string using Locale DateTime settings of the system, what
should I do to have control over this conversion according
to Predefined Format settings for DateTime.

Chris R

unread,
Apr 19, 2002, 1:24:07 AM4/19/02
to
See "DateTimeFormatInfo Class" for more information on how to display a
DateTime.ToString() in your preferred format.
For example:
DateTime.ToString("d");
returns "MM/dd/yyyy" format, 04/19/2002

Chris R.

"Makarand" <makara...@celpro.nl> wrote in message
news:433901c1e753$08168540$b1e62ecf@tkmsftngxa04...

0 new messages