By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,529 Members | 864 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,529 IT Pros & Developers. It's quick & easy.

Date Format

P: n/a
Hello
How can i simply convert from date format "dd/mm/yyy"
to "mm/dd/yyyy" using cSharp.
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

You could just do something like myDateTimeObj.ToString("mm/dd/yyyy")
--------------------
Content-Class: urn:content-classes:message
From: "Nagina" <na****@amdocs.com>
Sender: "Nagina" <na****@amdocs.com>
Subject: Date Format
Date: Mon, 29 Sep 2003 06:12:45 -0700
Lines: 5
Message-ID: <21****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcOGi19XQa7mqsy6T++HoPIgVIlWtQ==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:110230
NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
X-Tomcat-NG: microsoft.public.dotnet.general

Hello
How can i simply convert from date format "dd/mm/yyy"
to "mm/dd/yyyy" using cSharp.


Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.