Advertisement

09.02.2005 at 03:04PM PDT, ID: 21549589
[x]
Attachment Details

C# .NET: DateTime.Now with Date only and Time only?

Asked by kvnsdr in C# Programming Language

Tags: , , ,

I've been using the following C# code. Now I need to have a seperate date and time instead of both in the same string:

DateTime dateTime = DateTime.Now;
dateTime.ToString();                        Start Free Trial
[+][-]09.02.2005 at 03:22PM PDT, ID: 14813934

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2005 at 03:26PM PDT, ID: 14813948

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2005 at 04:03PM PDT, ID: 14814082

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Tags: date, datetime, time, only
Sign Up Now!
Solution Provided By: SteveGTR
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.02.2005 at 04:09PM PDT, ID: 14814106

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2005 at 04:12PM PDT, ID: 14814122

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32